diff --git a/doc/go1.18.html b/doc/go1.18.html index 133bfe0ef2b12d..a43b65d0a21f39 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -253,10 +253,10 @@

Go command

including build and tool tags (set with -tags), compiler, assembler, and linker flags (like -gcflags), whether cgo was enabled, and if it was, the values of the cgo environment variables - (like CGO_CFLAGS). This information may be omitted using the - flag -buildinfo=false. Both VCS and build information may be - read together with module information using go - version -m file or + (like CGO_CFLAGS). + Both VCS and build information may be read together with module + information using + go version -m file or runtime/debug.ReadBuildInfo (for the currently running binary) or the new debug/buildinfo package.