func (tmplEng TemplateEngine) GenerateTemplate(viewName string) (*template.Template, error) {
	tmpl, err := template.ParseFiles(tmplEng.ViewsPath+viewName+".html", tmplEng.HeaderPath, tmplEng.FooterPath, tmplEng.HeadPath)
	if err != nil {
		return nil, err
	}
	return tmpl, nil
}
// GenerateTemplate return a whole template corresponding on given viewName.
GenerateTemplate return a whole template corresponding on given viewName.
// GenerateTemplate return a whole template corresponding on given viewName .
func (tmplEng TemplateEngine) GenerateTemplate(viewName string) (*template.Template, error) {
	tmpl, err := template.ParseFiles(tmplEng.ViewsPath+viewName+".html", tmplEng.HeaderPath, tmplEng.FooterPath, tmplEng.HeadPath)
	if err != nil {
		return nil, err
	}
	return tmpl, nil
}
func ( tmplEng TemplateEngine ) GenerateTemplate ( viewName string ) ( * template . Template , error ) { tmpl , err := template . ParseFiles ( tmplEng . ViewsPath + viewName + " " , tmplEng . HeaderPath , tmplEng . FooterPath , tmplEng . HeadPath ) if err != nil { return nil , err } return tmpl , nil }
GenerateTemplate return a whole template corresponding on given viewName.
GenerateTemplate return a whole template corresponding on given viewName .