Documentation ¶
Index ¶
- func GetJSONEnumBase(e model.Enum) string
- func GetJSONEnumDefault(e model.Enum) string
- func HasJSONEnumBase(e model.Enum) bool
- func IsJSONEnum(e model.Enum) bool
- func IsJSONEnumStripped(e model.Enum) bool
- func IsJSONEnumTolerant(e model.Enum) bool
- func IsJSONStruct(s model.Struct) bool
- func NewGenerator() generator.Generator
- type Generator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJSONEnumBase ¶
func GetJSONEnumDefault ¶
func HasJSONEnumBase ¶
func IsJSONEnum ¶
func IsJSONEnumStripped ¶
func IsJSONEnumTolerant ¶
func IsJSONStruct ¶
func NewGenerator ¶
Types ¶
type Generator ¶
type Generator struct { }
func (*Generator) Generate ¶
func (eg *Generator) Generate(inputDir string, parsedSource model.ParsedSources) error
func (*Generator) GetAnnotations ¶
func (eg *Generator) GetAnnotations() []annotation.AnnotationDescriptor
Click to show internal directories.
Click to hide internal directories.