set git through socks5 proxy:
git config --global http.proxy socks5://127.0.0.1:1080
go get via socks5 proxy:
http_proxy=socks5://127.0.0.1:1080 go get github.com/mattn/go-sqlite3
Recover git global config:
git config --global --unset http.proxy
mking007’s blog
set git through socks5 proxy:
git config --global http.proxy socks5://127.0.0.1:1080
go get via socks5 proxy:
http_proxy=socks5://127.0.0.1:1080 go get github.com/mattn/go-sqlite3
Recover git global config:
git config --global --unset http.proxy
youtube-dl –proxy socks5://127.0.0.1:1090