Versions in this module Expand all Collapse all v0 v0.0.4 Nov 5, 2022 Changes in this version + type Attr struct + Name string + Value string + type Func func(...Value) (Value, error) + type Funcs map[string]Func + type Node struct + Attr []Attr + Children []*Node + Class []string + Expr string + ID string + Indent int + Name string + Raw bool + Text string + func (n *Node) NewChild() *Node + type Renderer func(out io.Writer, n *Node, v *vm.VM) error + type Template struct + func Parse(in io.Reader) (*Template, error) + func ParseFile(fname string) (*Template, error) + func (t *Template) Execute(out io.Writer, value interface{}) error + func (t *Template) FuncMap(m Funcs) + func (t *Template) RegisterRenderer(name string, r Renderer) + type Value interface + func Repeat(args ...Value) (Value, error) + func ToLower(args ...Value) (Value, error) + func ToUpper(args ...Value) (Value, error) + func Trim(args ...Value) (Value, error) + type Values map[string]Value v0.0.3 Feb 2, 2022 v0.0.2 Jan 28, 2022 v0.0.1 Sep 20, 2021