Dev env setup.
This commit is contained in:
38
.vscode/launch.json
vendored
Normal file
38
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Daemon (debug)",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceFolder}",
|
||||
"console": "integratedTerminal",
|
||||
"env": {
|
||||
"GO_ENV": "development",
|
||||
"WILD_CENTRAL_ENV": "development",
|
||||
"DEBUG": "true"
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"stopOnEntry": false,
|
||||
"showLog": true,
|
||||
"trace": "verbose"
|
||||
},
|
||||
{
|
||||
"name": "Daemon (no debug)",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}",
|
||||
"console": "integratedTerminal",
|
||||
"env": {
|
||||
"GO_ENV": "development",
|
||||
"WILD_CENTRAL_ENV": "development"
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"stopOnEntry": false,
|
||||
"showLog": true
|
||||
}
|
||||
],
|
||||
}
|
||||
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