tools/ directory
Directories ΒΆ
Path | Synopsis |
---|---|
analysis | |
analysis/code | Package code answers structural and type questions about Go code. |
analysis/edit | Package edit contains helpers for creating suggested fixes. |
analysis/facts | |
analysis/facts/deprecated | |
analysis/facts/directives | |
analysis/facts/generated | |
analysis/facts/nilness | |
analysis/facts/purity | |
analysis/facts/tokenfile | |
analysis/facts/typedness | |
analysis/lint | Package lint provides abstractions on top of go/analysis. |
analysis/lint/testutil | |
analysis/report | |
cmd | |
cmd/keyify | keyify transforms unkeyed struct literals into a keyed ones. |
cmd/staticcheck | staticcheck analyses Go code and makes it better. |
cmd/structlayout | structlayout displays the layout (field sizes and padding) of structs. |
cmd/structlayout-optimize | structlayout-optimize reorders struct fields to minimize the amount of padding. |
cmd/structlayout-pretty | structlayout-pretty formats the output of structlayout with ASCII art. |
cmd/unused | |
config | |
debug | Package debug contains helpers for debugging static analyses. |
go | |
go/ast | |
go/ast/astutil | |
go/buildid | |
go/gcsizes | Package gcsizes provides a types.Sizes implementation that adheres to the rules used by the gc compiler. |
go/ir | Package 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/ir/irutil | |
go/loader | |
go/types | |
go/types/typeutil | |
internal | |
knowledge | Package knowledge contains manually collected information about Go APIs. |
lintcmd | Package lintcmd implements the frontend of an analysis runner. |
lintcmd/cache | Package cache implements a build artifact cache. |
lintcmd/runner | Package runner implements a go/analysis runner. |
lintcmd/version | |
pattern | Package pattern implements a simple language for pattern matching Go ASTs. |
printf | Package printf implements a parser for fmt.Printf-style format strings. |
quickfix | Package quickfix contains analyzes that implement code refactorings. |
sarif | |
simple | Package simple contains analyzes that simplify code. |
staticcheck | Package staticcheck contains analyzes that find bugs and performance issues. |
staticcheck/fakejson | |
staticcheck/fakereflect | |
staticcheck/fakexml | |
structlayout | |
stylecheck | Package stylecheck contains analyzes that enforce style rules. |
unused | Package unused contains code for finding unused code. |
- Version
- v0.4.7
- Published
- Feb 22, 2024
- Platform
- darwin/amd64
- Last checked
- 1 hour ago –
Tools for package owners.