-
Notifications
You must be signed in to change notification settings - Fork 17.7k
CodeTools
Jason Buberel edited this page Sep 27, 2015
·
38 revisions
An overview of tools that will help improve your Go code
-
gometalinter - Automates the installation, configuration and application of
gofmt
,golint
,govet
and several other code validation tools.
- gofmt - Start with the standard Go code formatter
- golint - Detects style mistakes in Go code
- goimports - Format code and fix your import statements
- json-to-go - Generate Go structs from JSON.
- Go gen - Type-driven code generation (generics)
- gojson - Another Go struct generator.
- gonerics.io - Idiomatic Generics in Go
- gotemplate - Package-based templating system for Go
- sqlgen - Generate Go code for SQL interactions.
- Refactoring with go fmt
- gorename - easy refactoring
- Refectoring Tools - An overview of refactoring tools for Go.
- Quick renaming with gofmt
- eg - Example-based refactoring tool for Go
- gofmt - Start with the standard Go code formatter
- gorename - Renaming tool for Go
- Go Inspection Tools - An overview of tools for Go code inspection.
- DeferCheck, StructCheck, VarCheck - A suite of tools for checking your code.
- errcheck - Ensure you check your error conditions.
-
go vet - Read this first on how to use the
go vet
command. - SafeSQL - Protect against unsafe SQL in your code.
- go oracle - user manual - A tool for understanding Go code
- Pythia - A browser-based UI for the Go Oracle.
- godegraph - A tool for generating dependency graphs of Go code.