code: func NewGenerator(options ...Option) *Generator {
  	g := &Generator{}
  	g.validator = codegen.NewValidator()
  
  	for _, option := range options {
  		option(g)
  	}
  
  	return g
  }
docs: //NewGenerator returns an initialized instance of an Application Generator