Documentation ¶ Overview ¶ Package custom provides the custom generation functionality that uses a provide template to generate a file. Index ¶ func Generate(tmplData *schema.TemplateData, outputDir string, cfg Config) error type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(tmplData *schema.TemplateData, outputDir string, cfg Config) error Generate creates a new Custom file. 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 } Config is the configuration for the Custom generator. Source Files ¶ View all Source files custom.go Click to show internal directories. Click to hide internal directories.