Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pongo2Renderer ¶
type Pongo2Renderer struct {
}
Pongo2Renderer implements Renderer using the pongo2 template engine
type Renderer ¶
type Renderer interface {
Render(template string, variables map[string]interface{}) (string, error)
}
Renderer defines the interface for template rendering
func NewPongo2Renderer ¶
func NewPongo2Renderer() Renderer
NewPongo2Renderer creates a new Pongo2Renderer with filters registered
Click to show internal directories.
Click to hide internal directories.