gin_html_render/gin_html_render.go
func (r *Render) loadTemplate(name string) *template.Template {
	tpl, err := template.ParseFiles(r.Files[name]...)
	if err != nil {
		panic(name + " template name mismatch")
	}
	return template.Must(tpl, err)
}
func (r *Render) loadTemplate(name string) *template.Template {
	tpl, err := template.ParseFiles(r.Files[name]...)
	if err != nil {
		panic(name + " template name mismatch")
	}
	return template.Must(tpl, err)
}
func ( r * Render ) loadTemplate ( name string ) * template . Template { tpl , err := template . ParseFiles ( r . Files [ name ] ... ) if err != nil { panic ( name + " " ) } return template . Must ( tpl , err ) }
// loadTemplate parses the specified template and returns it
loadTemplate parses the specified template and returns it