pongo2_engine

package
v0.0.0-...-ce42be8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Engine = templ{false, []string{".p2"}}

Engine is a TemplateEngine that uses github.com/flosch/pongo2. The extension is .p2

Functions

func New

func New(exts ...string) dirtempl.TemplateEngine

New returns a TemplateEngine that uses github.com/flosch/pongo2. Unless specified in exts it does not handle the .p2 extension. You should probably use Engine.

func NewBuffered

func NewBuffered(exts ...string) dirtempl.TemplateEngine

NewBuffered returns a TemplateEngine that uses a buffered version of github.com/flosch/pongo2. Unless specified in exts it does not handle the .p2 extension.

Types

This section is empty.

Jump to

Keyboard shortcuts

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