diff options
author | Russ Cox <rsc@golang.org> | 2023-06-03 17:30:47 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2023-06-06 12:28:52 +0000 |
commit | 512361fb1fa805f10f183e0b96248e523e68c192 (patch) | |
tree | 4dd711c1548304917a601be6397cad5592eac884 /src/cmd/go/alldocs.go | |
parent | 38e2376f35907ebbb98419f1f4b8f28125bf6aaf (diff) | |
download | go-512361fb1fa805f10f183e0b96248e523e68c192.tar.gz go-512361fb1fa805f10f183e0b96248e523e68c192.zip |
cmd/go: document GOTOOLCHAIN
For #57001.
Change-Id: I74c4abd675bd5636a029332b45ef0e6fdc36106f
Reviewed-on: https://go-review.googlesource.com/c/go/+/500795
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r-- | src/cmd/go/alldocs.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index b872b7abe3a..7ef763d6be6 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -2173,7 +2173,7 @@ // The operating system for which to compile code. // Examples are linux, darwin, windows, netbsd. // GOPATH -// For more details see: 'go help gopath'. +// Controls where various files are stored. See: 'go help gopath'. // GOPROXY // URL of Go module proxy. See https://golang.org/ref/mod#environment-variables // and https://golang.org/ref/mod#module-proxy for details. @@ -2187,6 +2187,8 @@ // GOSUMDB // The name of checksum database to use and optionally its public key and // URL. See https://golang.org/ref/mod#authenticating. +// GOTOOLCHAIN +// Controls which Go toolchain is used. See https://go.dev/doc/toolchain. // GOTMPDIR // The directory where the go command will write // temporary source files, packages, and binaries. |