add `SaveDatabase` and `ReadDatabase` database operate function
import `github.com/rs/zerolog` use as logger
move most config into yaml config file
use `filepath.Join()` to combine file path
separate some function from `utils`
move signal channel to `signals` package
make exit code in `SignalsHandler()`
change debug script output directory to `${workspaceFolder}/__debug_bin`
19 lines
367 B
JSON
19 lines
367 B
JSON
// https://v2ex.com/t/1125422#r_16140286
|
|
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "调试主程序",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "${workspaceFolder}/",
|
|
"env": {},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}",
|
|
"output": "${workspaceFolder}/__debug_bin"
|
|
}
|
|
]
|
|
}
|