Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultTempData ¶
func AddDefaultTempData(td *models.TemplateData, r *http.Request) *models.TemplateData
AddDefaultTempData adds default data to template data
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, r *http.Request, tmplName string, td *models.TemplateData) error
RenderTemplate parses a given template in the ResponseWriter
func SetupTemplates ¶
SetupTemplates setup templates package based on AppConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.