- Changes should be made in a new branch.
- Provide meaningful commit messages.
gofmt
your code.- Handle errors in your code. A linter such as golangci-lint can discover unhandled errors.
- Non-trivial public packages, types, funcs, etc. should have doc comments.