1
whitehack Jan 13, 2021
go env -w GOPROXY=https://goproxy.cn,direct
|
2
whitehack Jan 13, 2021
|
4
hzz2 Jan 13, 2021
直接按 https://goproxy.cn 这上面的说明试过还是失败?
|
5
bruce0 Jan 13, 2021
我前两天也是这样 我用的鹏博士的宽带(最烂的,没有之一)
我用过两个代理 https://goproxy.cn 和 https://goproxy.io 多试了几次 后来反正安上了 具体是用那个按上的 我也不清楚了 |
6
jingniao Jan 13, 2021 via Android
go11module on
|
7
guochao Jan 13, 2021
看看```go env```输出,还有 go 版本。怀疑你是用了老版本
|
8
dimlau Jan 13, 2021
git config --global http.proxy "localhost:1234"
|
9
dimlau Jan 13, 2021
复位:
git config --global --unset http.proxy |