Skip to content

Commit

Permalink
doc/go1.22: document removal of 'go get' support in GOPATH mode
Browse files Browse the repository at this point in the history
For #61422.
Updates #60915.

Change-Id: Ia8ca12c163a02223b26c5e4cd4c1b6093978aba4
Reviewed-on: https://go-review.googlesource.com/c/go/+/548875
Reviewed-by: Carlos Amedee <[email protected]>
Reviewed-by: Than McIntosh <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
Bryan C. Mills authored and cagedmantis committed Dec 19, 2023
1 parent 339177a commit 22284c3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions doc/go1.22.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,13 @@ <h3 id="go-command">Go command</h3>
but not both.
</p>

<!-- CL 518775 -->
<!-- CL 518775, https://go.dev/issue/60915 -->
<p>
<!-- cmd/go: delete GOPATH-mode get -->
</p>

<!-- https://go.dev/issue/60915 -->
<p>
<!-- preserve basic GOPATH mode indefinitely -->
<code>go</code> <code>get</code> is no longer supported outside of a module in the
legacy <code>GOPATH</code> mode (that is, with <code>GO111MODULE=off</code>).
Other build commands, such as <code>go</code> <code>build</code> and
<code>go</code> <code>test</code>, will continue to work indefinitely
for legacy <code>GOPATH</code> programs.
</p>

<!-- CL 518776 -->
Expand Down

0 comments on commit 22284c3

Please sign in to comment.