Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlatPackageGenerator ¶
type FlatPackageGenerator struct {
// contains filtered or unexported fields
}
FlatPackageGenerator emits a file per generated type, all in a single Go package without handling namespacing
func NewFlatPackageGenerator ¶
func NewFlatPackageGenerator(files *generator.Package, containers bool) *FlatPackageGenerator
func (*FlatPackageGenerator) Add ¶
func (f *FlatPackageGenerator) Add(def namedDefinition) error
Click to show internal directories.
Click to hide internal directories.