Documentation ¶ Index ¶ type TextEngine func NewTextEngine(directory any, extension string, args ...any) *TextEngine func (ve *TextEngine) Execute(out io.Writer, tpl string, binding any, layout ...string) error func (ve *TextEngine) Load() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type TextEngine ¶ type TextEngine struct { view.Engine Templates *template.Template } func NewTextEngine ¶ func NewTextEngine(directory any, extension string, args ...any) *TextEngine func (*TextEngine) Execute ¶ func (ve *TextEngine) Execute(out io.Writer, tpl string, binding any, layout ...string) error func (*TextEngine) Load ¶ func (ve *TextEngine) Load() error Load load tmpl file Source Files ¶ View all Source files text.go Click to show internal directories. Click to hide internal directories.