analysis package - golang.org/x/tools/go/analysis - Go Packages
- Package analysis defines the interface between a modular static analysis and an analysis driver program.
- Background ¶A static analysis is a function that inspects a package of Go code and reports a set of diagnostics (typically mistakes in the code), and perhaps produces other results as well, such as suggested refactorings or other facts.
- An analysis that reports mistakes is informally called a "checker".
Unverified
- Package analysis defines the interface between a modular static analysis and an analysis driver program.
- Background ¶A static analysis is a function that inspects a package of Go code and reports a set of diagnostics (typically mistakes in the code), and perhaps produces other results as well, such as suggested refactorings or other facts.
- An analysis that reports mistakes is informally called a "checker".
Sources: Go