使用vscode调试报错:
Build Error: go build -o c:\Users\yangqing\Documents\Gitee\go_dev\src__debug_bin.exe -gcflags all=-N -l .
go: go.mod file not found in current directory or any parent directory; see 'go help modules' (exit status 1)
解决办法:
go env -w GO111MODULE=auto
网友评论