Versions in this module Expand all Collapse all v1 v1.0.0 Nov 6, 2022 Changes in this version + var DefaultTemplateFuncMap = template.FuncMap + type Template struct + FuncMap template.FuncMap + func Must(t *Template, err error) *Template + func New(name string) *Template + func (t *Template) AddParseTree(name string, tree *parse.Tree) (*Template, error) + func (t *Template) ExecuteTemplateToFile(name string, file string, overwrite bool, data any) error + func (t *Template) ExecuteToFile(file string, overwrite bool, data any) error + func (t *Template) Funcs(funcMap template.FuncMap) *Template + func (t *Template) Parse(text string) (*Template, error) + func (t *Template) ParseFS(fs embed.FS, patterns ...string) (*Template, error) + func (t *Template) ParseFiles(filenames ...string) (*Template, error) + func (t *Template) ParseGlob(pattern string) (*Template, error) + func (t *Template) ParseReader(r io.Reader) (*Template, error)