Adding page for tools that work with code

Jason Buberel 2015-08-30 13:36:03 -07:00
parent 88fe84a3a3
commit 938532703a
2 changed files with 21 additions and 0 deletions

20
CodeTools.md Normal file

@ -0,0 +1,20 @@
An overview of tools that will help improve your Go code
## Code Formatting
- [gofmt](https://golang.org/cmd/gofmt/) - Start with the standard Go code formatter
- [golint](https://github.com/golang/lint) - Detects style mistakes in Go code
- [goimports](https://github.com/bradfitz/goimports) - Format code and fix your import statements
- [Formatting Go Code with gofmt](http://golangtutorials.blogspot.com/2011/06/formatting-go-code-with-gofmt.html)
## Refactoring
- [Refactoring with go fmt](http://spf13.com/post/go-fmt/)
- [gorename - easy refactoring](https://texlution.com/post/gorename/)
## Error Detection
- [go vet](http://golang.org/cmd/vet/) - Read this first on how to use the `go vet` command.
## Navigation
- [go oracle - user manual](http://golang.org/s/oracle-user-manual) - A tool for understanding Go code

@ -37,6 +37,7 @@ Ready to write some Go code of your own? Here are a few links to help you get s
- If you need additional tips on using [$GOPATH, go here](GOPATH).
- [MultipleGoRoots](MultipleGoRoots) - More advanced information on working with multiple go installations and the `$GOROOT` variable.
- [Go IDEs and Editors](IDEsAndTextEditorPlugins) - Information on how to use your favorite editor with Go.
- [Tools for working with Go code](CodeTools) - Formatting, linting, vetting, refactoring.
- Finding Go Libraries & Tools
- Start by searching [godoc.org](http://godoc.org)
- Then check this list of [Go open source projects](Projects) for additional search tools and curated lists.