git go使用socket5代理

git

# set git through socks5 proxy:
git config --global http.proxy socks5://127.0.0.1:1080

# Recover git global config:
git config --global --unset http.proxy

go

https_proxy=socks5://127.0.0.1:1080  http_proxy=socks5://127.0.0.1:1080 go get -u -v github.com/mattn/go-sqlite3

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注