From: Bryan C. Mills
Date: Mon, 11 Dec 2023 17:29:32 +0000 (-0500)
Subject: doc/go1.22: document removal of 'go get' support in GOPATH mode
X-Git-Tag: go1.22rc1~1^2~2
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=22284c34f2936d996a182daae3118dcff18a4d25;p=gostls13.git
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
Reviewed-by: Than McIntosh
LUCI-TryBot-Result: Go LUCI
---
diff --git a/doc/go1.22.html b/doc/go1.22.html
index 3722dfbcc0..437e86e6b6 100644
--- a/doc/go1.22.html
+++ b/doc/go1.22.html
@@ -83,14 +83,13 @@ func main() {
but not both.
-
+
-
-
-
-
-
-
+ go
get
is no longer supported outside of a module in the
+ legacy GOPATH
mode (that is, with GO111MODULE=off
).
+ Other build commands, such as go
build
and
+ go
test
, will continue to work indefinitely
+ for legacy GOPATH
programs.