add stat and fix get place

This commit is contained in:
2025-12-06 16:50:06 +07:00
parent dad8d1c3a2
commit 0fe8b77d12
13 changed files with 136 additions and 11 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
"buildFlags": "-tags local"
},
{
"name": "Local Launch",
"name": "Launch for tests",
"type": "go",
"request": "launch",
"mode": "debug",
+4
View File
@@ -11,5 +11,9 @@
"palces",
"qrcode",
"signintech"
],
"makefile.configureOnOpen": false,
"go.testFlags": [
"-count=1",
]
}
+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"
]
}
]
}