Documentation
¶
Overview ¶
Package gotypes is the go/types rule family: rules that resolve what a Go name refers to, which the syntax-only go/* family cannot. The analyzers run under `go vet`, with the formwork binary as the vettool, so the go command builds every package's type information and caches the results. Design: docs/specs/2026-11-19-go-types-rule-family-design.md.
Index ¶
Constants ¶
const VettoolEnv = "FORMWORK_VETTOOL"
VettoolEnv names the variable formwork sets when it runs `go vet` with itself as the vettool. main hands control to the analyzers when it is "1".
Variables ¶
var Analyzer = &analysis.Analyzer{
Name: "formwork",
Doc: "formwork go/types rules; the -plan flag names the rule this run evaluates",
Run: run,
}
Analyzer is the single analyzer the vettool runs. Its plan names the analyzer a rule uses and that analyzer's params.
Functions ¶
Types ¶
This section is empty.