summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json25
-rw-r--r--.vscode/settings.json14
2 files changed, 39 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 00000000..3cf21fed
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,25 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Launch main debug, race",
+ "type": "go",
+ "request": "launch",
+ "mode": "auto",
+ "showLog": true,
+ "buildFlags": "-race",
+ "args": ["serve", "-c", "../.rr.yaml"],
+ "program": "${workspaceFolder}/cmd/main.go"
+ },
+ {
+ "name": "Launch file",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "program": "${file}"
+ },
+ ]
+} \ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 00000000..70a50b98
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,14 @@
+{
+ "workbench.editor.enablePreview": false,
+ "go.testFlags": ["-v", "-tags=debug", "-race"],
+ "go.lintTool": "golangci-lint",
+ "go.lintFlags": [
+ "--fast"
+ ],
+ "cSpell.words": [
+ "asdf",
+ "bbolt",
+ "stopc",
+ "treshholdc"
+ ]
+} \ No newline at end of file