template

package
v0.0.0-...-cf56ecf Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemplateRenderer

func NewTemplateRenderer(e *echo.Echo, recipes ...TemplateRecipe)

Types

type TemplateRecipe

type TemplateRecipe struct {
	Name  string
	Base  string
	Paths []string
}

type TemplateRegistry

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

func (*TemplateRegistry) Render

func (t *TemplateRegistry) Render(w 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