]> Cypherpunks repositories - gostls13.git/commit
cmd/go: adjust documentation mentioning 'go get'
authorJay Conrod <jayconrod@google.com>
Mon, 11 Oct 2021 22:51:10 +0000 (15:51 -0700)
committerJay Conrod <jayconrod@google.com>
Tue, 12 Oct 2021 18:31:29 +0000 (18:31 +0000)
commitf8bfdc9eda4a065b88e5d7ab968957d9c84694bf
treeb9e232e5b1f7d2befdc6060a25f28e83edda9012
parent6e0adde1e9467f5a0b9bdbe3d64f9093981ba5df
cmd/go: adjust documentation mentioning 'go get'

In module-aware mode, 'go get' no longer builds or installs packages.

- 'go generate' explains build commands do not run generate
  commands. 'go get' is no longer a build command, so this CL removes
  mention of it.
- 'go get' will continue to accept build flags, but they're
  ignored. The documentation no longer mentions them, though it does
  mention -x for printing VCS commands.

For #43684

Change-Id: I1eea7241eecf72ba9f98238b729d91cc77ec7665
Reviewed-on: https://go-review.googlesource.com/c/go/+/355209
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/generate/generate.go
src/cmd/go/internal/modget/get.go