Versions in this module Expand all Collapse all v0 v0.1.0 Oct 15, 2023 Changes in this version + type Context struct + Attributes map[string]types.Attribute + Placeholders map[string]types.Element + UserData any + type Template struct + func Must(t *Template, err error) *Template + func New(name string) *Template + func (t *Template) Attribute(key string) types.Attribute + func (t *Template) Execute(wr io.Writer, data *Context) error + func (t *Template) HTML() *htmltemplate.Template + func (t *Template) Parse(element types.Element) (*Template, error) + func (t *Template) Placeholder(key string) types.Element + func (t *Template) SetFallbackAttribute(key string, attribute types.Attribute) error + func (t *Template) SetFallbackContent(key string, element types.Element) error