templates

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRenderer

func CreateRenderer(s *server.Instance, efs fs.FS, debug bool, prefix string)

CreateRenderer creates a Renderer which renders the templates from the fs

Types

type Renderer

type Renderer struct {
	multitemplate.Renderer
	// contains filtered or unexported fields
}

func (*Renderer) FuncMap

func (r *Renderer) FuncMap() template.FuncMap

Jump to

Keyboard shortcuts

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