code: func (loader *TemplateLoader) CreateTemplateEngine(templateEngineName string) (TemplateEngine, error) {
  	if "" == templateEngineName {
  		templateEngineName = GO_TEMPLATE
  	}
  	factory := templateLoaderMap[templateEngineName]
  	if nil == factory {
  		fmt.Printf("registered factories %#v\n %s \n", templateLoaderMap, templateEngineName)
  		return nil, errors.New("Unknown template engine name - " + templateEngineName + ".")
  	}
  	templateEngine, err := factory(loader)
  	if nil != err {
  		return nil, errors.New("Failed to init template engine (" + templateEngineName + "), " + err.Error())
  	}
  
  	templateLog.Debug("CreateTemplateEngine: init templates", "name", templateEngineName)
  	return templateEngine, nil
  }
docs: // Sets the template name from Config
  // Sets the template API methods for parsing and storing templates before rendering