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

posted @ 2021-06-01 14:09  范世强  阅读(258)  评论(0编辑  收藏  举报