Versions in this module Expand all Collapse all v0 v0.0.1 Apr 2, 2022 Changes in this version + type ExecuteError struct + Err error + Template string + func (e ExecuteError) Error() string + func (e ExecuteError) Unwrap() error + type NotFoundError struct + Template string + func (e NotFoundError) Error() string + type ParseError struct + Err error + Path string + func (e ParseError) Error() string + func (e ParseError) Unwrap() error + type Template struct + FuncMap template.FuncMap + IncludeDir string + Layout string + func New() *Template + func (t *Template) ExecuteTemplate(w io.Writer, name string, data interface{}) error + func (t *Template) ParseDir(dir string) (err error) + func (t *Template) ParseFS(files fs.FS, dir string) (err error)