go get 报错:dial tcp 142.251.43.17:443: i/o timeout
自动下载
go env -w GO111MODULE=on
设置环境为国内代理
go env -w GOPROXY=https://goproxy.cn,direct
注:go 版本需要支持 mod
本文来自博客园,作者:金九亿,转载请注明原文链接:https://www.cnblogs.com/futurelifekin/p/16145106.html
自动下载
go env -w GO111MODULE=on
设置环境为国内代理
go env -w GOPROXY=https://goproxy.cn,direct
注:go 版本需要支持 mod
本文来自博客园,作者:金九亿,转载请注明原文链接:https://www.cnblogs.com/futurelifekin/p/16145106.html