code: func RunTemplate(tmpl *template.Template, data interface{}) string {
  	var b bytes.Buffer
  	err := tmpl.Execute(&b, data)
  	if err != nil {
  		panic(err) // should never happen, bug if it does.
  	}
  	return b.String()
  }
docs: // RunTemplate executs the given template with the given input and returns
  // the rendered string.