template

package
v0.0.0-...-81b8a3f Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tmpl

type Tmpl struct {
	*template.Template
}

func NewTmpl

func NewTmpl() *Tmpl

func (*Tmpl) Load

func (t *Tmpl) Load(dir string) (err error)

func (*Tmpl) SetFuncs

func (t *Tmpl) SetFuncs(funcMap template.FuncMap)

func (*Tmpl) Write

func (t *Tmpl) Write(dest string, name string, data interface{}) error

Jump to

Keyboard shortcuts

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