Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultData ¶
func AddDefaultData(td *models.TemplateData, r *http.Request) *models.TemplateData
Returns data that should be available to all functions
func NewTemplate ¶
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, r *http.Request, tmpl string, td *models.TemplateData)
Renders the template with name templ
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.