Versions in this module Expand all Collapse all v1 v1.0.3 May 3, 2026 v1.0.2 May 3, 2026 Changes in this version + var ErrExecutingTemplate = errors.New("error executing template") + var ErrGettingTemplate = errors.New("error getting template") + var ErrParsingTemplate = errors.New("error parsing template") + var ErrReadingContent = errors.New("error reading template content") + var ErrTemplateNotFound = errors.New("error template not found") + var ErrWalkingDir = errors.New("error walking directory") + func ExecuteTemplate(templatePath string, data any) (string, error) + func LoadTemplates(templates embed.FS) (map[string][]byte, error) + func PreloadTemplates(templates embed.FS, funcMap template.FuncMap) error