今天在获取 google.golang.org的第三方包时出现了 如下错误
Error looking for golang.org/x/net/context: Unable to get repository: Cloning into '/Users/rjj/.glide/cache/src/https-golang.org-x-net'...
fatal: unable to access 'https://go.googlesource.com/net/': Failed to connect to go.googlesource.com port 443: Operation timed out
真特么~~~~
首先确保自己是翻了墙的~~~
然后 命令行执行
export http_proxy = 127.0.0.1:1087
export https_proxy = 127.0.0.1:1087
后面的地址是 自己http 的代码地址,确保填对了,然后重启吧~估计就好了
::