VS Code安装Go插件失败解决方法

VScode 安装Go插件的时候,会提示“Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest FAILED

解决方法:

设置代理

go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct

关闭VS Code再点击Install All

 

 

转载:https://www.codenong.com/cs109535565/

posted @ 2022-01-01 02:27  雨夜Rainight  阅读(483)  评论(0编辑  收藏  举报