Documentation ¶
Index ¶
- Variables
- func Build(data any, templateName, templateContent string) (string, error)
- func BuildFile(data any, templateName, templateContent, outputPath string) error
- func CreateFilesMap(files []config.File) map[string]File
- func GenerateFile(defaultTemplatesMap map[string]string, fileName, fileTmpl, outputFile string, ...) error
- func GenerateFiles(templatesMap map[string]TemplateMapValue, filesMap map[string]File, ...) error
- type File
- type TemplateMapValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedFileType = errors.New("unsupported file type")
Functions ¶
func GenerateFile ¶
func GenerateFiles ¶
Types ¶
type TemplateMapValue ¶
Click to show internal directories.
Click to hide internal directories.