tools: honnef.co/go/tools

Directories

PathSynopsis
analysis/codePackage code answers structural and type questions about Go code.
analysis/edit
analysis/facts
analysis/report
cmd/go-module-query
cmd/keyifykeyify transforms unkeyed struct literals into a keyed ones.
cmd/rdepsrdeps scans GOPATH for all reverse dependencies of a set of Go packages.
cmd/staticcheckstaticcheck analyses Go code and makes it better.
cmd/structlayoutstructlayout displays the layout (field sizes and padding) of structs.
cmd/structlayout-optimizestructlayout-optimize reorders struct fields to minimize the amount of padding.
cmd/structlayout-prettystructlayout-pretty formats the output of structlayout with ASCII art.
config
go/callgraphPackage callgraph defines the call graph and various algorithms and utilities to operate on it.
go/irPackage ir defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-information (SSI) form intermediate representation (IR) for the bodies of functions.
go/types/typeutil
internal/cachePackage cache implements a build artifact cache.
internal/gosmith
internal/passes/buildirPackage buildir defines an Analyzer that constructs the IR of an error-free package and returns the set of all functions within it.
internal/renameioPackage renameio writes files atomically by renaming temporary files.
internal/robustioPackage robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
internal/sharedcheck
internal/sync
knowledge
lintcmd
lintcmd/version
lint/testutil
patternPackage pattern implements a simple language for pattern matching Go ASTs.
printfPackage printf implements a parser for fmt.Printf-style format strings.
simplePackage simple contains a linter for Go source code.
staticcheckPackage staticcheck contains a linter for Go source code.
structlayout
stylecheck
unused

Updated 2020-06-22. Refresh now. Tools for package owners.