Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(t testing.TB, name, text, leftDelim, rightDelim string, funcs ...map[string]any) map[string]*parse.Tree
Parse returns a map from template name to [Tree], created by parsing the templates described in the argument string. The top-level template will be given the specified name. If an error is encountered, parsing stops and an empty map is returned with the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.