mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/go: remove references to gopath-get
Fixes #70912 Change-Id: Id87a13f7c9bf972502d14c9674a27f743b849715 Reviewed-on: https://go-review.googlesource.com/c/go/+/639155 Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
This commit is contained in:
parent
d1d9312950
commit
847c357bbb
4 changed files with 3 additions and 21 deletions
|
|
@ -739,11 +739,6 @@
|
|||
//
|
||||
// For more about specifying packages, see 'go help packages'.
|
||||
//
|
||||
// This text describes the behavior of get using modules to manage source
|
||||
// code and dependencies. If instead the go command is running in GOPATH
|
||||
// mode, the details of get's flags and effects change, as does 'go help get'.
|
||||
// See 'go help gopath-get'.
|
||||
//
|
||||
// See also: go build, go install, go clean, go mod.
|
||||
//
|
||||
// # Compile and install packages and dependencies
|
||||
|
|
@ -2974,11 +2969,7 @@
|
|||
// same meta tag and then git clone https://code.org/r/p/exproj into
|
||||
// GOPATH/src/example.org.
|
||||
//
|
||||
// When using GOPATH, downloaded packages are written to the first directory
|
||||
// listed in the GOPATH environment variable.
|
||||
// (See 'go help gopath-get' and 'go help gopath'.)
|
||||
//
|
||||
// When using modules, downloaded packages are stored in the module cache.
|
||||
// Downloaded packages are stored in the module cache.
|
||||
// See https://golang.org/ref/mod#module-cache.
|
||||
//
|
||||
// When using modules, an additional variant of the go-import meta tag is
|
||||
|
|
|
|||
|
|
@ -270,11 +270,7 @@ the go tool will verify that https://example.org/?go-get=1 contains the
|
|||
same meta tag and then git clone https://code.org/r/p/exproj into
|
||||
GOPATH/src/example.org.
|
||||
|
||||
When using GOPATH, downloaded packages are written to the first directory
|
||||
listed in the GOPATH environment variable.
|
||||
(See 'go help gopath-get' and 'go help gopath'.)
|
||||
|
||||
When using modules, downloaded packages are stored in the module cache.
|
||||
Downloaded packages are stored in the module cache.
|
||||
See https://golang.org/ref/mod#module-cache.
|
||||
|
||||
When using modules, an additional variant of the go-import meta tag is
|
||||
|
|
|
|||
|
|
@ -125,11 +125,6 @@ suggested Go toolchain, see https://go.dev/doc/toolchain.
|
|||
|
||||
For more about specifying packages, see 'go help packages'.
|
||||
|
||||
This text describes the behavior of get using modules to manage source
|
||||
code and dependencies. If instead the go command is running in GOPATH
|
||||
mode, the details of get's flags and effects change, as does 'go help get'.
|
||||
See 'go help gopath-get'.
|
||||
|
||||
See also: go build, go install, go clean, go mod.
|
||||
`,
|
||||
}
|
||||
|
|
|
|||
2
src/cmd/go/testdata/script/mod_help.txt
vendored
2
src/cmd/go/testdata/script/mod_help.txt
vendored
|
|
@ -3,4 +3,4 @@ env GO111MODULE=on
|
|||
# go help get shows usage for get
|
||||
go help get
|
||||
stdout 'usage: go get'
|
||||
stdout 'get using modules to manage source'
|
||||
stdout 'updates go.mod to require those versions'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue