Back to

Package echopongo2

Latest Go to latest

The highest tagged major version is .

Published: Mar 16, 2020 | License: MIT | Module:


type Renderer

type Renderer struct {
	BaseDir string
	TplSet  *pongo2.TemplateSet

Renderer manages a pongo2 TemplateSet

func NewRenderer

func NewRenderer(baseDir string) (*Renderer, error)

NewRenderer creates a new instance of Renderer

func (*Renderer) Render

func (r *Renderer) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Render implements echo.Render interface

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier