vscode 升级 gopls 到最新版本 v0.6.4 后出现以下提示:
Error loading workspace: gopls requires a module at the root of your workspace. …
GO111MODULE=on go get golang.org/x/tools/gopls@v0.5.5
"gopls": {
"experimentalWorkspaceModule": true
},
https://blog.csdn.net/GeMarK/article/details/90269561
原文:https://www.cnblogs.com/davis12/p/14986350.html