Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultData ¶
func AddDefaultData(templateData *models.TemplateData) *models.TemplateData
func CreateTemplateCache ¶
Creates a template cache as a map
func NewTemplates ¶
func RenderTemplate ¶
func RenderTemplate(rw http.ResponseWriter, templateTitle string, templateData *models.TemplateData)
RenderTemplate renders html/templates inside templates folder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.