render

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates *template.Template

Functions

func InitRenderer

func InitRenderer()

func MustImportTemplates

func MustImportTemplates() *template.Template

Types

type DynamicTemplatePopulateFunc

type DynamicTemplatePopulateFunc func(c echo.Context, templateName string) interface{}

type Template

type Template struct {
	Templates *template.Template
}

func (*Template) Render

func (t *Template) Render(wr io.Writer, name string, data interface{}, c echo.Context) error

Jump to

Keyboard shortcuts

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