tpl

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tpl

type Tpl struct {
	Context  any
	Template *template.Template
}

func NewTpl

func NewTpl(name string, t string, fmap map[string]interface{}, ctx any) (Tpl, error)

func (*Tpl) Execute

func (t *Tpl) Execute() string

func (*Tpl) ExecuteWith

func (t *Tpl) ExecuteWith(data any) string

Jump to

Keyboard shortcuts

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