image.png 打开 文件-> 首选项-> 设置-> 扩展-> Go->在settings.json中编辑 image.png 新增 "gopls": { "experimentalWorkspaceModule": true