Add go fmt to contribution guidelines

Also fixed up formatting.
This commit is contained in:
Noah Campbell 2013-12-07 20:51:34 -08:00
parent 357ab956ea
commit 6410965b97

View file

@ -89,8 +89,9 @@ We welcome your contributions. To make the process as seamless as possible, we
* Go ahead and fork the project and make your changes. We encourage pull requests to discuss code changes.
* When you're ready to create a pull request, be sure to:
* Have test cases for the new code. If you have questions about how to do it, please ask in your pull request.
* Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
* Make sure go test ./... passes, and go build completes. Our Travis CI loop will catch most things that are missing. The exception, Windows. We run on windows from time to time, but if you have access please check on a Windows machine too.
* Have test cases for the new code. If you have questions about how to do it, please ask in your pull request.
* Run `go fmt`
* Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
* Make sure `go test ./...` passes, and go build completes. Our Travis CI loop will catch most things that are missing. The exception: Windows. We run on windows from time to time, but if you have access please check on a Windows machine too.
**Complete documentation is available at [Hugo Documentation](http://hugo.spf13.com).**