Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTemplate ¶
func ApplyTemplate(outPath string, fileName string, tplText string, config TemplateConfig) error
ApplyTemplate applies the given template file to generate a file at the given output path
Types ¶
type DriverConfig ¶
type DriverConfig struct { Name string Version string Module ModuleConfig Package PackageConfig }
type ModuleConfig ¶
type PackageConfig ¶
type RuntimeConfig ¶
type RuntimeConfig struct {
Version string
}
type TemplateConfig ¶
type TemplateConfig struct { Runtime RuntimeConfig Driver DriverConfig }
Click to show internal directories.
Click to hide internal directories.