Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNameSystem ¶
func DefaultNameSystem() string
DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.
func NameSystems ¶
func NameSystems() namer.NameSystems
NameSystems returns the name system used by the generators in this package.
Types ¶
type ExceptionNamer ¶
type ExceptionNamer struct { Exceptions map[string]string KeyFunc func(*types.Type) string Delegate namer.Namer }
ExceptionNamer allows you specify exceptional cases with exact names. This allows you to have control for handling various conflicts, like group and resource names for instance.
Click to show internal directories.
Click to hide internal directories.