Skip to content

Instantly share code, notes, and snippets.

@dave-malone
Created March 13, 2015 13:00
Show Gist options
  • Save dave-malone/71c53f2257026b064455 to your computer and use it in GitHub Desktop.
Save dave-malone/71c53f2257026b064455 to your computer and use it in GitHub Desktop.
GoSublime.sublime-settings file for use with the GoSublime plugin
{
"on_save": [
{
"cmd": "gs9o_open",
"args": {
"run": ["sh", "go build . errors && go test -i && go test && go vet && golint"],
"focus_view": false
}
}
],
"fmt_cmd": ["goimports"]
}
@dave-malone
Copy link
Author

Based on the examples from the book Go Programming Blueprints by Mat Ryer

@dave-malone
Copy link
Author

Package Control plugin for Sublime Text: https://packagecontrol.io/installation#st3
GoSublime plugin for Sublime Text: https://github.com/DisposaBoy/GoSublime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment