tmpl

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delims

type Delims struct {
	Left  string
	Right string
}

Delims

type Tmpl

type Tmpl struct {
	Template *template.Template
	// contains filtered or unexported fields
}

Tmpl

func GetTmpl

func GetTmpl() *Tmpl

GetTmpl

func (*Tmpl) LoadHTMLFiles

func (t *Tmpl) LoadHTMLFiles(files ...string)

LoadHTMLFiles

func (*Tmpl) LoadHTMLGlob

func (t *Tmpl) LoadHTMLGlob(pattern string)

LoadHTMLGlob

func (*Tmpl) SetDelims

func (t *Tmpl) SetDelims(left, right string) *Tmpl

SetDelims

func (*Tmpl) SetFuncMap

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

SetFuncMap

Jump to

Keyboard shortcuts

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