Original post

Sublime Text 3 can be a great editor for writing Go code – and with a few simple tweaks it can get better. One example of a simple workflow improvement to automate the running of go fmt each time you save. This keeps your code neat and tidy, while also alerting you to any syntax errors.
Some things you’ll need to get started:
Go installed (with a GOPATH) Sublime Text Installed 1) Install Package Control Firstly, we’ll install Sublime’s Package Control by going to their site: packagecontrol.