Skip to content

Commit

Permalink
chore: add demo .vscode/launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyzak committed Feb 18, 2024
1 parent 5ba2808 commit aada7c8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.vscode
.idea

*.sqlite3
Expand Down
36 changes: 36 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${file}"
},
{
"name": "Development",
"type": "go",
"request": "launch",
"mode": "auto",
"args": ["-c", "dev"],
"program": "cmd/main.go"
},
{
"name": "Production",
"type": "go",
"request": "launch",
"mode": "auto",
"args": ["-c", "prod"],
"program": "cmd/main.go"
},
{
"name": "Test",
"type": "go",
"request": "launch",
"mode": "auto",
"args": ["-c", "test"],
"program": "cmd/main.go"
}
]
}

0 comments on commit aada7c8

Please sign in to comment.