can't load package: package abc/.vscode: no Go files in /Users/adong/Documents/workspace/services/go/src/abc/.vscode
exit status 1
Process exiting with code: 1
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}",
"env": {},
"args": []
}
]
}
"program": "${fileDirname}/..", 只需要在后加面加 /.. 就可以了。
网友评论