diff options
author | witchard <witchard@hotmail.co.uk> | 2021-03-02 21:16:24 +0000 |
---|---|---|
committer | Jay Conrod <jayconrod@google.com> | 2021-03-02 21:49:08 +0000 |
commit | 312fd9937d6e8675a166fe60df77c1c24015a369 (patch) | |
tree | 595884827bea2c20d4f20d8fbce3b71ffdf10516 /doc | |
parent | 2a2f99eefb70a66ecb9560a61b5cf23a5ca02ecb (diff) | |
download | go-312fd9937d6e8675a166fe60df77c1c24015a369.tar.gz go-312fd9937d6e8675a166fe60df77c1c24015a369.zip |
cmd/go: remove -insecure flag on go get
Resolves #37519
Change-Id: Iba675a180b0e61b12835cdb6ecd4c6dc61e0605c
GitHub-Last-Rev: aa018af6f8fc7f0b829820e831ad96734adcb8d0
GitHub-Pull-Request: golang/go#44724
Reviewed-on: https://go-review.googlesource.com/c/go/+/297709
Trust: Jay Conrod <jayconrod@google.com>
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.17.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html index 79cd4f7b617..a07290714fa 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -43,8 +43,16 @@ Do not send CLs removing the interior tags from such phrases. <h3 id="go-command">Go command</h3> -<p> - TODO: complete this section, or delete if not needed +<h4 id="go-get"><code>go</code> <code>get</code></h4> + +<p><!-- golang.org/issue/37519 --> + The <code>go</code> <code>get</code> <code>-insecure</code> flag is + deprecated and has been removed. To permit the use of insecure schemes + when fetching dependencies, please use the <code>GOINSECURE</code> + environment variable. The <code>-insecure</code> flag also bypassed module + sum validation, use <code>GOPRIVATE</code> or <code>GONOSUMDB</code> if + you need that functionality. See <code>go</code> <code>help</code> + <code>environment</code> for details. </p> <h2 id="runtime">Runtime</h2> |