Skip to content

Instantly share code, notes, and snippets.

@awgh
Created May 3, 2017 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awgh/ed3d7b76ad4e7d7e3b2ca123ac11e769 to your computer and use it in GitHub Desktop.
Save awgh/ed3d7b76ad4e7d7e3b2ca123ac11e769 to your computer and use it in GitHub Desktop.
sublime config
{
"env": {"GOPATH": "/home/kuma/go"},
"fmt_cmd": ["goimports"],
"on_save": [{
"cmd": "gs9o_open", "args": {
"run": ["sh",
"go build . errors && go test -i && go test -v && go vet && golint ."],
"focus_view": false
}}],
"autocomplete_closures": true,
"complete_builtins": true,
}
//go get -u golang.org/x/tools/cmd/goimports
//go get -u golang.org/x/tools/cmd/vet
//go get -u golang.org/x/tools/cmd/oracle
//go get -u golang.org/x/tools/cmd/godoc
//go get -u github.com/golang/lint/golint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment