Directories ¶
Path | Synopsis |
---|---|
Package callgraph defines the call graph and various algorithms and utilities to operate on it.
|
Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
cha
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
|
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
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.
|
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. |
static
Package static computes the call graph of a Go program containing only static call edges.
|
Package static computes the call graph of a Go program containing only static call edges. |
cmd
|
|
gosimple
gosimple detects code that could be rewritten in a simpler way.
|
gosimple detects code that could be rewritten in a simpler way. |
staticcheck
staticcheck detects a myriad of bugs and inefficiencies in your code.
|
staticcheck detects a myriad of bugs and inefficiencies in your code. |
unused
unused reports unused identifiers (types, functions, ...) in your code.
|
unused reports unused identifiers (types, functions, ...) in your code. |
Package gcsizes provides a types.Sizes implementation that adheres to the rules used by the gc compiler.
|
Package gcsizes provides a types.Sizes implementation that adheres to the rules used by the gc compiler. |
Package lint provides the foundation for tools like gosimple.
|
Package lint provides the foundation for tools like gosimple. |
lintutil
Package lintutil provides helpers for writing linter command lines.
|
Package lintutil provides helpers for writing linter command lines. |
Package simple contains a linter for Go source code.
|
Package simple contains a linter for Go source code. |
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.
|
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. |
interp
Package ssa/interp defines an interpreter for the SSA representation of Go programs.
|
Package ssa/interp defines an interpreter for the SSA representation of Go programs. |
Package staticcheck contains a linter for Go source code.
|
Package staticcheck contains a linter for Go source code. |
Click to show internal directories.
Click to hide internal directories.