1.点击设置(左下角齿轮状)2.Settings3.搜索gopls4.点击小字:Edit in settings.json
关于VS code报错 gopls requires a module at the root of your workspace