vscode 安装 golang插件,报错 permission denied
安装以下插件提示没权限
go get -v github.com/ramya-rao-a/go-outline
go get -v golang.org/x/tools/gopls
go get -v github.com/rogpeppe/godef
解决办法,设置下权限:
sudo chmod -R 777 /usr/local/go/bin
安装提示timeout,说明网络不稳定,比如访问github,可以设置goproxy
参考 https://www.jianshu.com/p/5c99296a817d