Back to godoc.org
github.com/mesuutt/echo_pongo2

Package echopongo2

v0.0.0-...-112dcc8
Latest Go to latest

The highest tagged major version is .

Published: Mar 16, 2020 | License: MIT | Module: github.com/mesuutt/echo_pongo2

Index

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