Skip to content

Instantly share code, notes, and snippets.

View bsed's full-sized avatar
🏠
Working from home

sed bsed

🏠
Working from home
View GitHub Profile
@bsed
bsed / golang_vscode-tasks.json
Created May 29, 2016 01:51
goalng vscode tasks
{
"version": "0.1.0",
"isShellCommand": true,
"showOutput": "always",
"command": "go",
"echoCommand": true ,
"tasks": [
{
"taskName": "build",
"args": [
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
@bsed
bsed / golang_vscode-settings.json
Last active May 29, 2016 01:07
VSCode+Golang settings
{
//-------- Go configuration --------
"files.autoSave": "onFocusChange",
// Run 'go build'/'go test' on save.
"go.buildOnSave": true,
// Run 'golint' on save.
"go.lintOnSave": true,
// Run 'go tool vet' on save.
"go.vetOnSave": true,
// Flags to `go build`/`go test` used during build-on-save or running tests. (e.g. ['-ldflags="-s"'])
@bsed
bsed / golang_vscode-build-tasks.json
Last active May 29, 2016 01:06
VSCode+Golang tasks
{
"version": "0.1.0",
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
"command": "go",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
{
"version": "0.1.0",
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
"command": "go",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
{
"version": "0.1.0",
"command": "go",
"args": ["build"],
"isShellCommand": true,
"showOutput": "silent",
"problemMatcher": {
"owner": "go",