Documentation ¶
Index ¶
- func CompileAllTemplates(templates map[string]config.Template) (map[string]*Template, error)
- func CompileTemplates(templates map[string]config.Template, namePrefix string) (map[string]*Template, error)
- func ExtractDependencies(rootNode *parse.ListNode, templateNames []string) []string
- func ExtractVariables(rootNode *parse.ListNode, prefix string) (result []string)
- func GetCompiledTemplate(templateData string, templateName string) (*template.Template, error)
- func Md5(input string) string
- func RegisterTemplateFuncs(funcs template.FuncMap)
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileAllTemplates ¶
func CompileTemplates ¶
func ExtractDependencies ¶
func ExtractVariables ¶
func GetCompiledTemplate ¶
func RegisterTemplateFuncs ¶
Types ¶
type Template ¶
Click to show internal directories.
Click to hide internal directories.