Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Verbose bool // enable verbose mode // contains filtered or unexported fields }
Generator holds the state of the generation.
func NewGenerator ¶
NewGenerator returns a new code generator for package p, where p is the package's import path.
Click to show internal directories.
Click to hide internal directories.