code: func (view *View) RenderFromString(loaderName string, tplSrc string, data map[string]interface{}) (string, error) {
  	var buf bytes.Buffer
  	// If loaderName is not indicated, use the default template library of Go, no syntax like
  	// `extends` or `include` will be supported.
  	if loaderName == "" {
  		tmpl := template.New("error")
  		tmpl.Parse(tplSrc)
  		e := tmpl.Execute(&buf, data)
  		return buf.String(), e
  	}
  	loader, ok := view.templateLoader[loaderName]
  	if !ok {
  		panic(Errorf("Template loader not fount: %s", loaderName))
  	}
  	e := loader.Render(&buf, tplSrc, data)
  	if e != nil {
  		return "", e
  	}
  	return buf.String(), nil
  }
docs: // RenderFromString does the same thing as render but renders a template by
  // indicating the template source from tplSrc.