Documentation ¶
Overview ¶
Package custom provides the custom generation functionality that uses a provide template to generate a file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // OutputFile is the name of the model to generate the custom file. OutputFile string // TemplateFile is the path to the template file. TemplateFile string // Format controls whether the generated file is formatted with goimports. Format bool }
Config is the configuration for the Custom generator.
Click to show internal directories.
Click to hide internal directories.