diff options
author | Bryan C. Mills <bcmills@google.com> | 2019-06-24 15:44:05 -0400 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2019-06-24 20:17:15 +0000 |
commit | 26c60cef983421f3d4e246381477fa70425fb078 (patch) | |
tree | bc5f8356ffa7de4831c8af1e7a1491f8b00656b5 | |
parent | 38fc0afca6139ba2e28061712f68cbe426d238e7 (diff) | |
download | go-26c60cef983421f3d4e246381477fa70425fb078.tar.gz go-26c60cef983421f3d4e246381477fa70425fb078.zip |
cmd/go: fix a typo in module-private help text
Change-Id: Idbdcb78d40cf58d7c878cfeaa4a34ab580fe472f
Reviewed-on: https://go-review.googlesource.com/c/go/+/183626
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/cmd/go/alldocs.go | 2 | ||||
-rw-r--r-- | src/cmd/go/internal/modfetch/fetch.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 40cbaa2331..fa60fb63b5 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -2767,7 +2767,7 @@ // GOPROXY=proxy.example.com // GONOPROXY=none // -// This would tell the go comamnd and other tools that modules beginning with +// This would tell the go command and other tools that modules beginning with // a corp.example.com subdomain are private but that the company proxy should // be used for downloading both public and private modules, because // GONOPROXY has been set to a pattern that won't match any modules, diff --git a/src/cmd/go/internal/modfetch/fetch.go b/src/cmd/go/internal/modfetch/fetch.go index bc1d35e690..74e36cc6fc 100644 --- a/src/cmd/go/internal/modfetch/fetch.go +++ b/src/cmd/go/internal/modfetch/fetch.go @@ -757,7 +757,7 @@ users would configure go using: GOPROXY=proxy.example.com GONOPROXY=none -This would tell the go comamnd and other tools that modules beginning with +This would tell the go command and other tools that modules beginning with a corp.example.com subdomain are private but that the company proxy should be used for downloading both public and private modules, because GONOPROXY has been set to a pattern that won't match any modules, |