Versions in this module Expand all Collapse all v1 v1.0.5 Nov 27, 2023 Changes in this version + var ErrBadSubstitution = errors.New("bad substitution") + var ErrMissingClosingBrace = errors.New("missing closing brace") + var ErrParseDefaultFunction = errors.New("unable to parse default function") + var ErrParseFuncSubstitution = errors.New("unable to parse substitution within function") + var ErrParseVariableName = errors.New("unable to parse variable name") + type FuncNode struct + Args []Node + Name string + Param string + type ListNode struct + Nodes []Node + type Node interface + type TextNode struct + Value string + type Tree struct + Root Node + func Parse(buf string) (*Tree, error) + func (t *Tree) Parse(buf string) (tree *Tree, err error)