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)
Click to show internal directories.
Click to hide internal directories.