vscode出现Error loading workspace: gopls was not able to find modu
如果gofile文件夹下有多个项目,每个项目都会有main.go和go.modgo从1.18新增了workspace机制,这时就需要在gofile目录下执行
go work initgo work use ./project1 ./project2
golang使用VScode报错解决办法
https://www.ydnl.net/thread-55-1-1.html
页:
[1]