Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶ added in v0.0.3
Input represents Types, Interfaces, and Variants from a specific package,
type Task ¶
type Task struct { // Filename output file Filename string // Template string that is then parsed into template.Template Template string // Input represents Types, Interfaces, and Variants from a specific package, // that need to be generated. Input *Input }
Task represent a code-gen task that Generator accepts. It's not advisable to have multiple tasks with the same Task.Filename since the Generator will just overwrite the data in it.
Click to show internal directories.
Click to hide internal directories.