code: func renderTpl(writer io.Writer, name string, data interface{}) error {
  	if tpl == nil {
  		return errors.New("Rendering template error! Please compile your templates.")
  	}
  
  	return tpl.ExecuteTemplate(writer, name, data)
  }
docs: // Write result of ExecuteTemplate to provided writer. This is usually ResponseWriter.