pongo2runner

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NamespaceFilter = "_pongo2Runner_namespace"

Variables

This section is empty.

Functions

This section is empty.

Types

type Pongo2Runner

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

func New

func New(source io.Reader) Pongo2Runner

func (*Pongo2Runner) Directory

func (p *Pongo2Runner) Directory() string

func (*Pongo2Runner) Render

func (p *Pongo2Runner) Render() (string, error)

Render renders the template and returns it as a string

func (*Pongo2Runner) SetDirectory

func (p *Pongo2Runner) SetDirectory(directory string)

Jump to

Keyboard shortcuts

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