Versions in this module Expand all Collapse all v1 v1.26.0 Oct 12, 2026 Changes in this version + func CallsTemplate(v any) bool + func Parse(input string) error + func Reads(input, name string) [][]string + func ReadsNothing(input string) bool + func Refs(v any, name string) (keys []string, dynamic bool) + func ReplaceTemplates(s, repl string) string + func TemplateExprs(s string) []string + type Clause struct + Expr string + Operands []Operand + type Expr struct + BeforeTemplate func(text string) error + func (e *Expr) Eval(input string, env any) (any, error) + func (e *Expr) EvalOrEvalTemplate(input string, env any) (string, error) + func (e *Expr) EvalTemplate(input string, env any) (string, error) + func (e *Expr) EvalTemplateMap(input map[string]any, env any) (map[string]any, error) + func (e *Expr) EvalTemplateWithTypePreservation(input string, env any) (any, error) + func (e *Expr) FalseClause(input string, env any) (Clause, bool) + func (e *Expr) Options(env any) []ex.Option + type FieldError struct + Err error + EvaluatedPath string + Path string + func (e *FieldError) Error() string + func (e *FieldError) Unwrap() error + type Operand struct + Expr string + Value any + type TemplateError struct + Err error + Template string + func (e *TemplateError) Error() string + func (e *TemplateError) Unwrap() error