Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
func (Generator) CheckFilter ¶
func (Generator) CheckFilter() loader.NodeFilter
type GeneratorInterface ¶
type ObjectGenCtx ¶
type ObjectGenCtx struct { Collector *markers.Collector Checker *loader.TypeChecker HeaderText string }
ObjectGenCtx contains the common info for generating deepcopy implementations. It mostly exists so that generating for a package can be easily tested without requiring a full set of output rules, etc.
Click to show internal directories.
Click to hide internal directories.