I would recommend you to use cow [
https://github.com/cyfdecyf/cow.git]
If you've already been using shadowsocks, cow directly supports SS. It also support socks5 as upstream proxy.
After you setup cow, all you have to do is setting http_proxy and https_proxy enviroment variable, `go get` honors that and works like a charm.