Documentation
¶
Overview ¶
Package apifreeze provides stable public API snapshots for contract tests. It combines exported AST declaration shape with go/types semantics for method sets, constant values, and variable types. Implementation bodies, private struct fields, and private concrete methods stay unfrozen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Declaration ¶
Declaration is one exported package declaration. Receiver is populated for methods; Name is the unqualified exported identifier used by vocabulary guards.
type Surface ¶
type Surface struct {
Declarations []Declaration
}
Surface is the complete application-facing source surface of one package.
Click to show internal directories.
Click to hide internal directories.