Skip to content

Commit 9e073b5

Browse files
witchardJay Conrod
authored and
Jay Conrod
committed
doc/go1.16: add -insecure deprecation to release notes
Updates #37519. Change-Id: Iddf88a24334d4740f9c40caa2354127298692eeb GitHub-Last-Rev: deda4c8 GitHub-Pull-Request: #41545 Reviewed-on: https://go-review.googlesource.com/c/go/+/256419 Reviewed-by: Jay Conrod <[email protected]> Trust: Jay Conrod <[email protected]> Trust: Bryan C. Mills <[email protected]>
1 parent aacbd7c commit 9e073b5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/go1.16.html

+10
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ <h4 id="go-test"><code>go</code> <code>test</code></h4>
8585
that is still considered to be a passing test.
8686
</p>
8787

88+
<p><!-- golang.org/issue/37519 -->
89+
The <code>go</code> <code>get</code> <code>-insecure</code> flag is
90+
deprecated and will be removed in a future version. The <code>GOINSECURE</code>
91+
environment variable should be used instead, since it provides control
92+
over which modules may be retrieved using an insecure scheme. Unlike the
93+
<code>-insecure</code> flag, <code>GOINSECURE</code> does not disable module
94+
sum validation using the checksum database. The <code>GOPRIVATE</code> or
95+
<code>GONOSUMDB</code> environment variables may be used instead.
96+
</p>
97+
8898
<h4 id="all-pattern">The <code>all</code> pattern</h4>
8999

90100
<p><!-- golang.org/cl/240623 -->

0 commit comments

Comments
 (0)