赞
踩
使用VS code编写golang代码时,会遇到无法下载golang.org/x上的代码包情形
解决方法就是在环境变量中,增加GOPROXY=https://goproxy.io
可以直接在windows命令行中,执行
set GOPROXY=https://goproxy.io