analysis | |
analysis/code | Package code answers structural and type questions about Go code. |
analysis/edit | |
analysis/facts | |
analysis/facts/nilness | |
analysis/facts/typedness | |
analysis/lint | Package lint provides abstractions on top of go/analysis. |
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. |
config | |
debug | |
go | |
go/ast | |
go/ast/astutil | |
go/callgraph | Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
go/callgraph/cha | Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
go/callgraph/rta | This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types. |
go/callgraph/static | Package static computes the call graph of a Go program containing only static call edges. |
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 | |
lint | |
lintcmd | Package lintcmd implements the frontend of an analysis runner. |
lintcmd/runner | Package runner implements a go/analysis runner. |
lintcmd/version | |
lint/testutil | |
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 | |
sarif | |
simple | Package simple contains a linter for Go source code. |
staticcheck | Package staticcheck contains a linter for Go source code. |
staticcheck/fakejson | |
staticcheck/fakereflect | |
staticcheck/fakexml | |
structlayout | |
stylecheck | |
unused | |
unused/typemap | Package typemap defines Map, a mapping from types.Type to interface{} values. |