"The go command's download behavior may be configured using GOPROXY, GOSUMDB, GOPRIVATE, and other environment variables. See 'go help environment' and https://golang.org/ref/mod#private-module-privacy for more information."
"GOPROXY: URL of Go module proxy. See https://golang.org/ref/mod#environment-variables and https://golang.org/ref/mod#module-proxy for details. GOPRIVATE, GONOPROXY, GONOSUMDB: Comma-separated list of glob patterns (in the syntax of Go's path.Match) of module path prefixes that should always be fetched directly or that should not be compared against the checksum database. See https://golang.org/ref/mod#private-modules." On Wednesday, 3 March 2021 at 11:36:51 UTC almaember wrote: > Hello golang-nuts! > > Apparently, Golan 1.13 introduced a module proxy for the Go CLI. I know > that by default this points to "proxy.golang.org". > This is fine for me right now, but I wanted to ask what the way to disable > (that is, make the CLI request the module directly from the VCS server), > or point it to a different (possibly self-hosted) proxy. > > I tried looking it up, but everything keeps linking to a section in the > docs[1] that clearly does not exist anymore. > > I also would like to know how to change the checksum server (again, > possibly a self-hosted proxy to the real one), or disable it altogether. > > > Thanks, > Almaember > > [1]: https://golang.org/cmd/go/#hdr-Module_downloading_and_verification > -- 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/7c9f8723-0efb-4aa3-a007-d4b7a51617a8n%40googlegroups.com.