Skip to content

Instantly share code, notes, and snippets.

@Cibernomadas Cibernomadas/main.go
Created Jun 18, 2018

What would you like to do?
func TemplateRender() *gintemplate.TemplateEngine {
return gintemplate.New(gintemplate.TemplateConfig{
Root: path.Join("webapp", "template"),
Extension: ".tpl",
Master: path.Join("layouts", "base"),
Partials: TemplatePartials(),
Funcs: TemplateFuncs(),
DisableCache: true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.