From 22284c34f2936d996a182daae3118dcff18a4d25 Mon Sep 17 00:00:00 2001
From: "Bryan C. Mills"
Date: Mon, 11 Dec 2023 12:29:32 -0500
Subject: [PATCH] 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
---
doc/go1.22.html | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
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.
--
2.48.1