gin_html_render/gin_html_render.go
func (r *Render) Add(name string, tmpl *template.Template) {
	if tmpl == nil {
		panic("template can not be nil")
	}
	if len(name) == 0 {
		panic("template name cannot be empty")
	}
	r.Templates[name] = tmpl
}
func (r *Render) Add(name string, tmpl *template.Template) {
	if tmpl == nil {
		panic("template can not be nil")
	}
	if len(name) == 0 {
		panic("template name cannot be empty")
	}
	r.Templates[name] = tmpl
}
func ( r * Render ) Add ( name string , tmpl * template . Template ) { if tmpl == nil { panic ( " " ) } if len ( name ) == 0 { panic ( " " ) } r . Templates [ name ] = tmpl }
// Add assigns the name to the template
Add assigns the name to the template