mirror of https://github.com/golang/go.git
doc/go1.14: document the new GOINSECURE variable
Fixes #36746 Change-Id: Iab9eaceb743ee52c82e7645216a671362189a021 Reviewed-on: https://go-review.googlesource.com/c/go/+/216380 Reviewed-by: witchard <ben.witchard@gmail.com> Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
c333d07ebe
commit
f652015a0a
|
|
@ -193,6 +193,16 @@ TODO
|
|||
trimming the ".mod" extension and appending ".sum".
|
||||
</p>
|
||||
|
||||
<h4 id="go-env-vars">Environment variables</h4>
|
||||
|
||||
<p><!-- golang.org/issue/32966 -->
|
||||
<code>GOINSECURE</code> is a new environment variable that instructs
|
||||
the <code>go</code> command to not require an HTTPS connection, and to skip
|
||||
certificate validation, when fetching certain modules directly from their
|
||||
origins. Like the existing <code>GOPRIVATE</code> variable, the value
|
||||
of <code>GOINSECURE</code> is a comma-separated list of glob patterns.
|
||||
</p>
|
||||
|
||||
<h4 id="incompatible-versions"><code>+incompatible</code> versions</h4>
|
||||
<!-- golang.org/issue/34165 -->
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue