code: func render(t *template.Template, v interface{}) (string, error) {
  	buf := new(bytes.Buffer)
  
  	if err := t.Execute(buf, v); err != nil {
  		return "", err
  	}
  
  	return buf.String(), nil
  }
docs: // render returns a string by executing template `t` against the given value `v`.