vscode 装golang失败解决 - Go语言中文社区

vscode 装golang失败解决


git clone https://github.com/golang/net.git $GOPATH/src/github.com/golang/net --depth=1

git clone https://github.com/golang/sys.git $GOPATH/src/github.com/golang/sys --depth=1

git clone https://github.com/golang/tools.git $GOPATH/src/github.com/golang/tools --depth=1

git clone https://github.com/golang/lint.git $GOPATH/src/github.com/golang/lint --depth=1

 需要安装git , 然后多了这几个文件夹

将这几个文件夹复制到 src/golang.org/x,没有就创建下

如果跳出这个,就设置下

 

现在就能安装成功了 

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/it_all/article/details/94734111
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2019-08-26 22:57:05
  • 阅读 ( 1087 )
  • 分类:Go

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢