Skip to content

Commit 847c357

Browse files
seankhliaogopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Michael Matloob <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Sam Thanawalla <[email protected]>
1 parent d1d9312 commit 847c357

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

src/cmd/go/alldocs.go

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/help/helpdoc.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,7 @@ the go tool will verify that https://example.org/?go-get=1 contains the
270270
same meta tag and then git clone https://code.org/r/p/exproj into
271271
GOPATH/src/example.org.
272272
273-
When using GOPATH, downloaded packages are written to the first directory
274-
listed in the GOPATH environment variable.
275-
(See 'go help gopath-get' and 'go help gopath'.)
276-
277-
When using modules, downloaded packages are stored in the module cache.
273+
Downloaded packages are stored in the module cache.
278274
See https://golang.org/ref/mod#module-cache.
279275
280276
When using modules, an additional variant of the go-import meta tag is

src/cmd/go/internal/modget/get.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ suggested Go toolchain, see https://go.dev/doc/toolchain.
125125
126126
For more about specifying packages, see 'go help packages'.
127127
128-
This text describes the behavior of get using modules to manage source
129-
code and dependencies. If instead the go command is running in GOPATH
130-
mode, the details of get's flags and effects change, as does 'go help get'.
131-
See 'go help gopath-get'.
132-
133128
See also: go build, go install, go clean, go mod.
134129
`,
135130
}

src/cmd/go/testdata/script/mod_help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ env GO111MODULE=on
33
# go help get shows usage for get
44
go help get
55
stdout 'usage: go get'
6-
stdout 'get using modules to manage source'
6+
stdout 'updates go.mod to require those versions'

0 commit comments

Comments
 (0)