Versions in this module Expand all Collapse all v0 v0.24.0 Jun 24, 2026 Changes in this version + var ErrTemplateNotFound = errors.New("view: template not found") + type Engine struct + func New(fsys fs.FS, opts Options) (*Engine, error) + func (e *Engine) Names() []string + func (e *Engine) Render(w io.Writer, name string, data any) error + func (e *Engine) RenderToString(name string, data any) (string, error) + type Options struct + Dev bool + Ext string + Funcs template.FuncMap + Globals map[string]any + Root string