Documentation ¶ Index ¶ func Evaluate(tr *i18n.Localizer, tpl *string, vars maps.Map[string, interface{}], ...) (*string, error) type Renderer func Template(tpl *string, functions template.FuncMap) (*Renderer, error) func (r *Renderer) Render(tr *i18n.Localizer, vars any) (*string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Evaluate ¶ func Evaluate(tr *i18n.Localizer, tpl *string, vars maps.Map[string, interface{}], envs ...maps.Map[string, interface{}]) (*string, error) Types ¶ type Renderer ¶ type Renderer struct { // contains filtered or unexported fields } func Template ¶ func Template(tpl *string, functions template.FuncMap) (*Renderer, error) func (*Renderer) Render ¶ func (r *Renderer) Render(tr *i18n.Localizer, vars any) (*string, error) Source Files ¶ View all Source files eval.gotemplate.go Click to show internal directories. Click to hide internal directories.