Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplatePipeline ¶
type TemplatePipeline interface { Read(filePath string) (*parser.GeneralConfig, error) Generate(*parser.GeneralConfig) error }
type YamlPipeline ¶
type YamlPipeline struct { ConfigPath string FullstackGenerator fullstack.TemplateGenerator UiGenerator ui.TemplateGenerator ApiGenerator api.TemplateGenerator }
Pipeline to read and run the template generation based on a YAML config file.
func (*YamlPipeline) Generate ¶
func (p *YamlPipeline) Generate(cfg *parser.GeneralConfig) error
1. Creates and parses the base template. 2. Augments the base template according to the config.
func (*YamlPipeline) Read ¶
func (p *YamlPipeline) Read(configPath string) (*parser.GeneralConfig, error)
Should read and validate the template config.
Click to show internal directories.
Click to hide internal directories.