From deda4c858b5c5582fa63ae7f1eee5f57292670c4 Mon Sep 17 00:00:00 2001
From: witchard
- The go get -insecure
flag is deprecated and will be removed
- in a future version. The GOINSECURE
environment variable is
- usually a better alternative, since it provides control over which modules
- may be retrieved using an insecure scheme. It should be noted that the
- -insecure
flag also turns the module checksum validation off.
- GOINSECURE
does not do that, use GONOSUMDB
.
+ 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.
all
pattern