eval

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL