4 ms·
> You talk about git.apache.org being down, while you're willing to bring down the entire ecosystem across the board with your own special server. If the proxy
by zeeboo 7y ago
> You talk about git.apache.org being down, while you're willing to bring down the entire ecosystem across the board with your own special server.
If the proxy goes down, by default the command falls back to directly fetching.
- typical182 7y agoYou can also pick your own proxy primary and fallbacks. For example, this should in theory work to make the google-run proxy your fourth choice, with three other proxies attempted before the google-run proxy, and with direct (no proxy) access as the fifth and final fallback: go env -w GOPROXY=gocenter.io,goproxy.io,goproxy.cn,proxy.golang.org,direct There is some geographic diversity in that example as well -- I think two mirrors in that list are primarily run in China.