Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func (Renderer) RenderTemplate ¶
func (r Renderer) RenderTemplate(w io.Writer, templateName TemplateName, data interface{}) error
type TemplateName ¶
type TemplateName string
const ( TemplateNameIndex TemplateName = "index" TemplateNameSuccess TemplateName = "success" )
Click to show internal directories.
Click to hide internal directories.