view/template.go
func Html(name, contentType, charSet string) template {
	if htmlTemp.Template == nil {
		panic("Function `InitHtmlTemplates` should be called first.")
	}
	if contentType == "" {
		contentType = ContentTypeHTML
	}
	if charSet == "" {
		charSet = CharSetUTF8
	}
	header := make(http.Header)
	header.Set("Content-Type",
		fmt.Sprintf("%s; charset=%s", contentType, charSet))
	return template{&htmlTemp, name, header}
}
func Html(name, contentType, charSet string) template {
	if htmlTemp.Template == nil {
		panic("Function `InitHtmlTemplates` should be called first.")
	}
	if contentType == "" {
		contentType = ContentTypeHTML
	}
	if charSet == "" {
		charSet = CharSetUTF8
	}
	header := make(http.Header)
	header.Set("Content-Type",
		fmt.Sprintf("%s; charset=%s", contentType, charSet))
	return template{&htmlTemp, name, header}
}
// Html retruns a TemplateView witch uses HTML templates internally.