code: func (g *Generator) SetTemplate(tmpl string) error {
  	t, err := template.New("mock").Parse(tmpl)
  	if err != nil {
  		return err
  	}
  	g.mockTmpl = t
  	return nil
  }
docs: // SetTemplate allows defining a different template to generate the mock. It will be parsed with text/template and execuded with the Generator.