func NewTemplateEngine(config configuration.ServiceConfig) TemplateEngine {
	return TemplateEngine{
		ViewsPath:  config.ViewFilePath,
		HeaderPath: config.ViewFilePath + "utils/Header.html",
		FooterPath: config.ViewFilePath + "utils/Footer.html",
		HeadPath:   config.ViewFilePath + "utils/Head.html",
		Config:     config,
	}
}
// NewTemplateEngine return a new template engine with the given
// views path and configuration.
NewTemplateEngine return a new template engine with the given
views path and configuration.
// NewTemplateEngine return a new template engine with the given // views path and configuration .
func NewTemplateEngine(config configuration.ServiceConfig) TemplateEngine {
	return TemplateEngine{
		ViewsPath:  config.ViewFilePath,
		HeaderPath: config.ViewFilePath + "utils/Header.html",
		FooterPath: config.ViewFilePath + "utils/Footer.html",
		HeadPath:   config.ViewFilePath + "utils/Head.html",
		Config:     config,
	}
}
func NewTemplateEngine ( config configuration . ServiceConfig ) TemplateEngine { return TemplateEngine { ViewsPath : config . ViewFilePath , HeaderPath : config . ViewFilePath + " " , FooterPath : config . ViewFilePath + " " , HeadPath : config . ViewFilePath + " " , Config : config , } }
NewTemplateEngine return a new template engine with the given
views path and configuration.
NewTemplateEngine return a new template engine with the given views path and configuration .