code: func (c *Controller) RenderView(templateStr string, vars interface{}) []byte {
  	t, err := template.New("RenderView").Parse(templateStr)
  	if err != nil {
  		panic(err.Error())
  	}
  	return c.RenderTemplate(t, vars)
  }
docs: // RenderView renders a template string using the provided template and vars struct
  // and returns the rendered tamplate