On 2/3/21 5:14 PM, Kevin Chadwick wrote:
> Why would I trust DNS
> Why would I setup letsencrypt
> What if we have a minimal internet use developer machine policy

https://roberto.selbach.ca/go-proxies



Oh, this will be annoying.

https://golang.org/ref/mod#module-proxy

A module proxy must always serve the same content for successful responses for
$base/$module/$version.mod and $base/$module/$version.zip queries. This content
is cryptographically authenticated using go.sum files and, by default, the
checksum database.



Aha, this may be the key

The go command may download module source code and metadata directly from a
version control repository. Downloading a module from a proxy is usually faster,
but connecting directly to a repository is necessary if a proxy is not available
or if a module's repository is not accessible to a proxy (frequently true for
private repositories). Git, Subversion, Mercurial, Bazaar, and Fossil are
supported. A version control tool must be installed in a directory in PATH in
order for the go command to use it.

To download specific modules from source repositories instead of a proxy, set
the GOPRIVATE or GONOPROXY environment variables. To configure the go command to
download all modules directly from source repositories, set GOPROXY to direct.
See Environment variables for more information.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d336c1db-59cb-6288-5b9e-ba99e33cf469%40gmail.com.

Reply via email to