Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer interface { // Render will load a template file and render the template // within using the viewbag as a context Render(view string, bag ViewBag) (string, error) }
Renderer defines the interface of a mojito compatible renderer
type ViewBag ¶
type ViewBag structures.Map[string, interface{}]
func NewViewBag ¶
func NewViewBag() ViewBag
Click to show internal directories.
Click to hide internal directories.