关于VS code报错 gopls requires a module at the root of your workspace

关于VS code报错 gopls requires a module at the root of your workspace

settings.json设置里面添加如下

"gopls": {
     
        "experimentalWorkspaceModule": true
    }

你可能感兴趣的:(笔记,go语言,vscode)