4 ms·
GOPROXY is enabled by default. “Since Go 1.13, the go command by default downloads and authenticates modules using the Go module mirror and Go checksum database
by fweimer 3y ago
GOPROXY is enabled by default. “Since Go 1.13, the go command by default downloads and authenticates modules using the Go module mirror and Go checksum database.” https://proxy.golang.org/ https://proxy.golang.org/
- eddythompson80 3y agoOnly if you’re not vendoring your dependencies, afaik.
- dolmen 3y agoSo you might just need an anonymizing relay to the Google proxy. The GOPROXY protocol is quite small to allow to implement such a relay: https://go.dev/ref/mod#goproxy-protocol https://go.dev/ref/mod#goproxy-protocol
- dolmen 3y agoAlso using a generic http_proxy that does the relay you need might just be enough as many solutions exist in that space. https://stackoverflow.com/questions/10383299/how-do-i-configure-go-command-to-use-a-proxy https://stackoverflow.com/questions/10383299/how-do-i-config...