Versions in this module Expand all Collapse all v0 v0.3.0 Nov 6, 2023 Changes in this version + var ErrViewNotFound = errors.New("view not found") + func AlwaysReload(err error) bool + func NeverReload(err error) bool + func ReloadOnViewNotFound(err error) bool type LoadOption + func WithReloadRule(rule ReloadRule) LoadOption + type ReloadRule = func(error) bool v0.2.0 Oct 20, 2023 Changes in this version + type LoadOption func(loadOptions) loadOptions + func WithFileExt(ext string) LoadOption + func WithFs(fs afero.Fs) LoadOption + func WithFuncs(customFuncs template.FuncMap) LoadOption v0.1.0 Oct 19, 2023 Changes in this version + type PartRenderer struct + RootName string + Separator string + func MakePartRenderer(componentsPath string, viewsPath string, fileExt string, ...) (PartRenderer, error) + func (r PartRenderer) ExecuteTemplate(w io.Writer, viewName string, data any) error