Forked from: https://github.com/pthethanh/effective-go
This page collects common comments made during reviews of Go code and some best practices collected from different sources.
You can view this as a supplement to Effective Go.
Run gofmt on your code to automatically fix the majority of mechanical style issues. Almost all Go code in the wild uses gofmt. The rest of this document addresses non-mechanical style points.