VsCode警告我gopls已过时。尝试更新它时出现此错误
Installing golang.org/x/tools/gopls FAILED
1 tools failed to install.
gopls:
Error: Command failed: /usr/local/bin/go get -v golang.org/x/tools/gopls
go get: disabled by -mod=vendor
go get: disabled by -mod=vendor
所有gotools实际上都在发生这种情况。
有什么线索解决吗?
非常感谢