Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer interface { // Render renders all templates in dir with values v and returns a map of // template-file-path => rendered-template-content. Should return an error // if rendering of any of the templates fails. Render(dir string, v map[string]interface{}) (map[string]string, error) }
Renderer defines a template renderer
Click to show internal directories.
Click to hide internal directories.