In Linux or macOS, you can execute the below commands.
Or, write it into the
In Windows, you can execute the below commands.
Now, when you build and run your applications, go will fetch dependencies via goproxy.io. See more information in the goproxy repository.
If your Go version >= 1.13, the GOPRIVATE environment variable controls which modules the go command considers to be private (not available publicly) and should therefore not use the proxy or checksum database. For example:
Global proxy servers, including Las Vegas, Hong Kong etc.
Enterprise monitor and alert system. Promise 99.99% uptime SLA.
One of most active go modules proxy projects.
Support sum.golang.org proxy.