请问vscode说找不到main module是怎么回事?
来源:2-1 变量定义

慕粉329807310
2020-09-21
如图,vscode说找不到main module
go: cannot find main module; see ‘go help modules’
写回答
1回答
-
慕粉329807310
提问者
2020-09-21
Fixed by running the following command in terminal. "learngo" is a module name
$go mod init learngo10
相似问题