code: func (g *generator) Output() []byte {
  	src, err := format.Source(g.buf.Bytes())
  	if err != nil {
  		log.Fatalf("Failed to format generated source code: %s\n%s", err, g.buf.String())
  	}
  	return src
  }
docs: // Output returns the generator's output, formatted in the standard Go style.