mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Adding page for tools that work with code
parent
88fe84a3a3
commit
938532703a
20
CodeTools.md
Normal file
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
|
1
Home.md
1
Home.md
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user