Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
The Generator is the one responsible for generating the code, adding the imports, formating, and writing it to the file.
func NewGenerator ¶
NewGenerator function creates an instance of the generator given the name of the output file as an argument.
Click to show internal directories.
Click to hide internal directories.