box

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Template = &TemplateBox{rice.MustFindBox("templates")}

Functions

This section is empty.

Types

type Option

type Option func(funcs template.FuncMap)

type TemplateBox

type TemplateBox struct {
	// contains filtered or unexported fields
}

func (*TemplateBox) Execute

func (t *TemplateBox) Execute(tplName string, data interface{}, opts ...Option) (string, error)

Jump to

Keyboard shortcuts

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