From 9e073b504fbb936f54e6be50a41903319a993ce9 Mon Sep 17 00:00:00 2001
From: witchard
Date: Tue, 22 Sep 2020 18:02:52 +0000
Subject: [PATCH] doc/go1.16: add -insecure deprecation to release notes
Updates #37519.
Change-Id: Iddf88a24334d4740f9c40caa2354127298692eeb
GitHub-Last-Rev: deda4c858b5c5582fa63ae7f1eee5f57292670c4
GitHub-Pull-Request: golang/go#41545
Reviewed-on: https://go-review.googlesource.com/c/go/+/256419
Reviewed-by: Jay Conrod
Trust: Jay Conrod
Trust: Bryan C. Mills
---
doc/go1.16.html | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/go1.16.html b/doc/go1.16.html
index 09717dac85..3164acbb6d 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -85,6 +85,16 @@ Do not send CLs removing the interior tags from such phrases.
that is still considered to be a passing test.
+
+ The go
get
-insecure
flag is
+ deprecated and will be removed in a future version. The GOINSECURE
+ environment variable should be used instead, since it provides control
+ over which modules may be retrieved using an insecure scheme. Unlike the
+ -insecure
flag, GOINSECURE
does not disable module
+ sum validation using the checksum database. The GOPRIVATE
or
+ GONOSUMDB
environment variables may be used instead.
+
+
The all
pattern
--
2.50.0