Skip to content

Commit 22284c3

Browse files
Bryan C. Millscagedmantis
Bryan C. Mills
authored andcommitted
doc/go1.22: document removal of 'go get' support in GOPATH mode
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]>
1 parent 339177a commit 22284c3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

doc/go1.22.html

+6-7
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,13 @@ <h3 id="go-command">Go command</h3>
8383
but not both.
8484
</p>
8585

86-
<!-- CL 518775 -->
86+
<!-- CL 518775, https://go.dev/issue/60915 -->
8787
<p>
88-
<!-- cmd/go: delete GOPATH-mode get -->
89-
</p>
90-
91-
<!-- https://go.dev/issue/60915 -->
92-
<p>
93-
<!-- preserve basic GOPATH mode indefinitely -->
88+
<code>go</code> <code>get</code> is no longer supported outside of a module in the
89+
legacy <code>GOPATH</code> mode (that is, with <code>GO111MODULE=off</code>).
90+
Other build commands, such as <code>go</code> <code>build</code> and
91+
<code>go</code> <code>test</code>, will continue to work indefinitely
92+
for legacy <code>GOPATH</code> programs.
9493
</p>
9594

9695
<!-- CL 518776 -->

0 commit comments

Comments
 (0)