template

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemplate

func NewTemplate(t string) ([]byte, error)

func Put

func Put(t *Template)

Types

type Template

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

func Get

func Get() *Template

func New

func New(ctx *fasthttp.RequestCtx) *Template

func (*Template) Execute

func (p *Template) Execute(t string) ([]byte, error)

func (*Template) SetCtx

func (p *Template) SetCtx(ctx *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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