A global proxy for go modules Github -

First, you will need to enable the Go Modules feature and configure Go to use the proxy.

      export GOPROXY=


      $env:GOPROXY = ""

Now, when you build and run your applications, go will fetch dependencies via

Note: This proxy can't fetch your private repos of course.