Versions in this module Expand all Collapse all v0 v0.0.4 Feb 20, 2023 v0.0.3 Feb 13, 2023 Changes in this version type TypeDefinition + Name string + Variants []string v0.0.2 Jan 1, 2023 Changes in this version + const DecodingStrategyDiscriminator + const DecodingStrategyStrict + type Config struct + DecodingStrategy DecodingStrategy + MarkerMethod string + Output *OutputConfig + Package string + Types TypesList + func (c *Config) String() string + type DecodingStrategy string + func (s DecodingStrategy) IsDiscriminator() bool + func (s DecodingStrategy) IsStrict() bool + func (s DecodingStrategy) IsValid() bool + func (s DecodingStrategy) String() string + type DiscriminatorDefinition struct + Field string + Mapping map[string]string + type OutputConfig struct + Filename string + type Package string + func (p Package) Dir() string + func (p Package) Name() string + func (p Package) String() string + type TypeDefinition struct + DecodingStrategy DecodingStrategy + Discriminator DiscriminatorDefinition + MarkerMethod string + Output *OutputConfig + Package string + Subtypes []string + Type string + type TypesList []*TypeDefinition + func (tts TypesList) AssociateByOutput() map[string]TypesList + func (tts TypesList) AssociateByPkgName() map[string]TypesList + func (tts TypesList) AssociateByTypeName() map[string]*TypeDefinition