go get使用代理

git config –global http.proxy “127.0.0.1:8087”
go get …

或者可以在go get的同时指定代理:
http_proxy=127.0.0.1:8087 go get



你可能感兴趣的:(go get使用代理)