tools/ directory
Directories ΒΆ
Path | Synopsis |
---|---|
arg | |
callgraph | Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
callgraph/cha | Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
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. |
callgraph/static | Package static computes the call graph of a Go program containing only static call edges. |
cmd | |
cmd/go-module-query | |
cmd/keyify | keyify transforms unkeyed struct literals into a keyed ones. |
cmd/rdeps | rdeps scans GOPATH for all reverse dependencies of a set of Go packages. |
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 | |
deprecated | |
facts | |
functions | |
gcsizes | Package gcsizes provides a types.Sizes implementation that adheres to the rules used by the gc compiler. |
go | |
go/types | |
go/types/typeutil | Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values. |
internal | |
lint | Package lint provides the foundation for tools like staticcheck |
lint/lintdsl | Package lintdsl provides helpers for implementing static analysis checks. |
lint/lintutil | Package lintutil provides helpers for writing linter command lines. |
lint/lintutil/format | Package format provides formatters for linter problems. |
lint/testutil | |
loader | |
printf | Package printf implements a parser for fmt.Printf-style format strings. |
simple | Package simple contains a linter for Go source code. |
ssa | Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions. |
ssa/ssautil | |
ssautil | |
staticcheck | Package staticcheck contains a linter for Go source code. |
staticcheck/vrp | |
structlayout | |
stylecheck | |
unused | |
version |
- Version
- v0.0.1-2019.2.2
- Published
- Jul 29, 2019
- Platform
- linux/amd64
- Last checked
- now –
Tools for package owners.