Skip to content

Instantly share code, notes, and snippets.

@akilab
Created April 16, 2016 06:14
Show Gist options
  • Select an option

  • Save akilab/4d377312963073f91cafa0f14d4d2cac to your computer and use it in GitHub Desktop.

Select an option

Save akilab/4d377312963073f91cafa0f14d4d2cac to your computer and use it in GitHub Desktop.
VisualStudio Code でのGoの実行
{
"version": "0.1.0",
"command": "cmd",
"isShellCommand": true,
"showOutput": "silent",
"args": ["/C"],
"tasks": [
{
"taskName": "Build",
"suppressTaskName": true,
"isBuildCommand": true,
"args": ["go run main.go"]
},
{
"taskName": "Test",
"suppressTaskName": true,
"isTestCommand": true,
"args": ["go test ../..."]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment