第六步如果报错go.mod file not found in current directory or any parent directory,$ go env -w GO111MODULE=auto即可
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}",
"env": {
"GOPATH": "C:/Users/81802/go", //调整为实际设置目录
"GOROOT": "D:/program/go", //调整为实际设置目录
},
"args": []
}
]