Documentation ¶
Index ¶
- Variables
- func Build(data any, templateName, templateContent string) (string, error)
- func BuildFile(data any, templateName, templateContent, path string) error
- func GenerateFile(defaultTemplatesMap map[string]string, fileName, fileTmpl, outputFile string, ...) error
- func GenerateGoFiles(defaultTemplatesMap map[string]TemplateMapValue, output string, ...) error
- type Code
- type TemplateMapValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedFileType = errors.New("unsupported file type")
Functions ¶
func GenerateFile ¶ added in v0.1.1
func GenerateGoFiles ¶
Types ¶
type TemplateMapValue ¶
Click to show internal directories.
Click to hide internal directories.