pongorenderer

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

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

func NewRenderer

func NewRenderer(templateSet *pongo2.TemplateSet) Renderer

func (Renderer) Render

func (r Renderer) Render(writer io.Writer, templateName string, templateData interface{}, context echo.Context) error

Render impements echo.Renderer. Pongo2 context data is placed under the prefix "t" for access within templates.

Jump to

Keyboard shortcuts

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