template

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectSeededFuncGenerator added in v1.15.0

func InjectSeededFuncGenerator(name string, f interface{})

Types

type Engine

type Engine struct {
	*template.Template
}

Engine is a template engine

func NewEngine

func NewEngine(text string, funcMap template.FuncMap, seed int64, seedField string) (*Engine, error)

NewEngine create a template Engine

Jump to

Keyboard shortcuts

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