Open yiGmMk opened 1 year ago
https://programnotes.cn/vscode-go-test/index.html
单测在vscode中,带_test的go源文件里的测试函数有有专门的优化,可点击”run test”,”debug test”一键测试 配置在settings.json可以指定go buld参数如ldfalgs,gcflags等 12345678910"go.buildFlags": [ "--ldflags -r=${workspaceRoot}/lib" //
https://programnotes.cn/vscode-go-test/index.html
单测在vscode中,带_test的go源文件里的测试函数有有专门的优化,可点击”run test”,”debug test”一键测试 配置在settings.json可以指定go buld参数如ldfalgs,gcflags等 12345678910"go.buildFlags": [ "--ldflags -r=${workspaceRoot}/lib" //