go get 使用proxy来下载

http_proxy=https://127.0.0.1:1087 go get -v github.com/Shopify/sarama
https_proxy=https://127.0.0.1:1087 go get -u -v github.com/jinzhu/gorm

http_proxy=socks5://127.0.0.1:1086 go get -v github.com/Shopify/sarama
https_proxy=socks5://127.0.0.1:1086 go get -u github.com/jinzhu/gorm

http_proxy=https://goproxy.io/ go get -u -v gopkg.in/jcmturner/gokrb5.v7/types

转载于:https://www.cnblogs.com/zhouj-happy/p/11191435.html

你可能感兴趣的:(go get 使用proxy来下载)