文章目录
- 异常
- 原因
- 解决
异常
gopls requires a module at the root of your workspace.
You can work with multiple modules by opening each one as a workspace folder.
Improvements to this workflow will be coming soon, and you can learn more
原因
同一个模块下只能有一个
解决
修改 package