解决vscode无法安装golang相关插件的问题 - 即无法直连golang.org的问题

喜欢挂vpn或者代理的请无视本文。

 

其实golang.org上的插件在github.com上都有镜像,直接

  git clone https://github.com/golang/tools

  git clone https://github.com/golang/net

  git clone https://github.com/golang/lint

,然后移到 $GOPATH/src/golang.org/x/ 下面即可。

 

如果还需要其他的,可在 https://github.com/golang 下面查找。

然后再点击vscode中的安装,就可以了。

posted on 2018-07-04 20:40  LarryZeal  阅读(391)  评论(0编辑  收藏  举报

导航