Initial commit

This commit is contained in:
Вечерний детектив
2026-06-28 17:24:14 +00:00
commit 36575fd0fc
17 changed files with 861 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
{
// 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",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd/evening_detective_server",
"args": [
"--local"
],
"cwd": "${workspaceFolder}",
"buildFlags": "-tags local"
},
{
"name": "Launch for tests",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd/evening_detective_server",
"args": [
"--local"
],
"cwd": "${workspaceFolder}",
"buildFlags": "-tags local"
}
]
}
+33
View File
@@ -0,0 +1,33 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Gen Config",
"type": "shell",
"isBackground": true,
"command": "make generate",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": [
"$go"
]
},
{
"label": "Tests",
"type": "shell",
"isBackground": true,
"command": "make test",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": [
"$go"
]
}
]
}