Set up dev env.
This commit is contained in:
23
.vscode/settings.json
vendored
Normal file
23
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"go.gopath": "",
|
||||
"go.goroot": "",
|
||||
"go.useLanguageServer": true,
|
||||
|
||||
"gopls": {
|
||||
"experimentalWorkspaceModule": true,
|
||||
"build.experimentalWorkspaceModule": true
|
||||
},
|
||||
|
||||
"go.lintTool": "golangci-lint",
|
||||
"go.lintOnSave": "workspace",
|
||||
"go.formatTool": "goimports",
|
||||
"go.testOnSave": false,
|
||||
|
||||
"[go]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
"editor.suggest.snippetsPreventQuickSuggestions": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user