Documentation ¶
Index ¶
- type Basic
- type BinaryAlias
- type BinaryMap
- type BooleanIntegerMap
- type Collections
- type Compound
- type Days
- type Days_Value
- type Enum
- type Enum_Value
- type ExampleUnion
- func (u *ExampleUnion) Accept(v ExampleUnionVisitor) error
- func (u *ExampleUnion) AcceptWithContext(ctx context.Context, v ExampleUnionVisitorWithContext) error
- func (u ExampleUnion) MarshalJSON() ([]byte, error)
- func (u ExampleUnion) MarshalYAML() (interface{}, error)
- func (u *ExampleUnion) UnmarshalJSON(data []byte) error
- func (u *ExampleUnion) UnmarshalYAML(unmarshal func(interface{}) error) error
- type ExampleUnionVisitor
- type ExampleUnionVisitorWithContext
- type ExampleUuid
- type OptionalUuidAlias
- type RidAlias
- type Type
- type UuidAlias
- type UuidAlias2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic struct {
Data string `json:"data"`
}
func (Basic) MarshalYAML ¶
func (*Basic) UnmarshalYAML ¶
type BinaryAlias ¶
type BinaryAlias []byte
type BinaryMap ¶
func (BinaryMap) MarshalJSON ¶
func (BinaryMap) MarshalYAML ¶
func (*BinaryMap) UnmarshalJSON ¶
func (*BinaryMap) UnmarshalYAML ¶
type BooleanIntegerMap ¶
func (BooleanIntegerMap) MarshalJSON ¶
func (o BooleanIntegerMap) MarshalJSON() ([]byte, error)
func (BooleanIntegerMap) MarshalYAML ¶
func (o BooleanIntegerMap) MarshalYAML() (interface{}, error)
func (*BooleanIntegerMap) UnmarshalJSON ¶
func (o *BooleanIntegerMap) UnmarshalJSON(data []byte) error
func (*BooleanIntegerMap) UnmarshalYAML ¶
func (o *BooleanIntegerMap) UnmarshalYAML(unmarshal func(interface{}) error) error
type Collections ¶
type Collections struct { MapVar map[string][]int `json:"mapVar"` ListVar []string `json:"listVar"` MultiDim [][]map[string]int `json:"multiDim"` }
func (Collections) MarshalJSON ¶
func (o Collections) MarshalJSON() ([]byte, error)
func (Collections) MarshalYAML ¶
func (o Collections) MarshalYAML() (interface{}, error)
func (*Collections) UnmarshalJSON ¶
func (o *Collections) UnmarshalJSON(data []byte) error
func (*Collections) UnmarshalYAML ¶
func (o *Collections) UnmarshalYAML(unmarshal func(interface{}) error) error
type Compound ¶
type Compound struct {
Obj Collections `json:"obj"`
}
func (Compound) MarshalYAML ¶
func (*Compound) UnmarshalYAML ¶
type Days ¶
type Days struct {
// contains filtered or unexported fields
}
func New_Days ¶
func New_Days(value Days_Value) Days
func (Days) MarshalText ¶
func (*Days) UnmarshalText ¶
func (Days) Value ¶
func (e Days) Value() Days_Value
type Days_Value ¶
type Days_Value string
const ( Days_FRIDAY Days_Value = "FRIDAY" Days_SATURDAY Days_Value = "SATURDAY" Days_UNKNOWN Days_Value = "UNKNOWN" )
type Enum ¶
type Enum struct {
// contains filtered or unexported fields
}
func New_Enum ¶
func New_Enum(value Enum_Value) Enum
func (Enum) MarshalText ¶
func (*Enum) UnmarshalText ¶
func (Enum) Value ¶
func (e Enum) Value() Enum_Value
type Enum_Value ¶
type Enum_Value string
const ( Enum_VALUE Enum_Value = "VALUE" Enum_VALUES Enum_Value = "VALUES" Enum_VALUES_1 Enum_Value = "VALUES_1" Enum_VALUES_1_1 Enum_Value = "VALUES_1_1" Enum_VALUE1 Enum_Value = "VALUE1" // Docs for an enum value Enum_VALUE2 Enum_Value = "VALUE2" Enum_UNKNOWN Enum_Value = "UNKNOWN" )
type ExampleUnion ¶
type ExampleUnion struct {
// contains filtered or unexported fields
}
func NewExampleUnionFromOther ¶
func NewExampleUnionFromOther(v int) ExampleUnion
func NewExampleUnionFromStr ¶
func NewExampleUnionFromStr(v string) ExampleUnion
func NewExampleUnionFromStrOptional ¶
func NewExampleUnionFromStrOptional(v *string) ExampleUnion
func (*ExampleUnion) Accept ¶
func (u *ExampleUnion) Accept(v ExampleUnionVisitor) error
func (*ExampleUnion) AcceptWithContext ¶
func (u *ExampleUnion) AcceptWithContext(ctx context.Context, v ExampleUnionVisitorWithContext) error
func (ExampleUnion) MarshalJSON ¶
func (u ExampleUnion) MarshalJSON() ([]byte, error)
func (ExampleUnion) MarshalYAML ¶
func (u ExampleUnion) MarshalYAML() (interface{}, error)
func (*ExampleUnion) UnmarshalJSON ¶
func (u *ExampleUnion) UnmarshalJSON(data []byte) error
func (*ExampleUnion) UnmarshalYAML ¶
func (u *ExampleUnion) UnmarshalYAML(unmarshal func(interface{}) error) error
type ExampleUnionVisitor ¶
type ExampleUuid ¶
func (ExampleUuid) MarshalYAML ¶
func (o ExampleUuid) MarshalYAML() (interface{}, error)
func (*ExampleUuid) UnmarshalYAML ¶
func (o *ExampleUuid) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalUuidAlias ¶
func (OptionalUuidAlias) MarshalText ¶
func (a OptionalUuidAlias) MarshalText() ([]byte, error)
func (OptionalUuidAlias) MarshalYAML ¶
func (a OptionalUuidAlias) MarshalYAML() (interface{}, error)
func (*OptionalUuidAlias) UnmarshalText ¶
func (a *OptionalUuidAlias) UnmarshalText(data []byte) error
func (*OptionalUuidAlias) UnmarshalYAML ¶
func (a *OptionalUuidAlias) UnmarshalYAML(unmarshal func(interface{}) error) error
type RidAlias ¶
type RidAlias rid.ResourceIdentifier
func (RidAlias) MarshalText ¶
func (RidAlias) MarshalYAML ¶
func (*RidAlias) UnmarshalText ¶
func (*RidAlias) UnmarshalYAML ¶
type Type ¶
A type using go keywords
func (Type) MarshalJSON ¶
func (Type) MarshalYAML ¶
func (*Type) UnmarshalJSON ¶
func (*Type) UnmarshalYAML ¶
type UuidAlias ¶
func (UuidAlias) MarshalText ¶
func (UuidAlias) MarshalYAML ¶
func (*UuidAlias) UnmarshalText ¶
func (*UuidAlias) UnmarshalYAML ¶
type UuidAlias2 ¶
type UuidAlias2 Compound
func (UuidAlias2) MarshalJSON ¶
func (a UuidAlias2) MarshalJSON() ([]byte, error)
func (UuidAlias2) MarshalYAML ¶
func (a UuidAlias2) MarshalYAML() (interface{}, error)
func (*UuidAlias2) UnmarshalJSON ¶
func (a *UuidAlias2) UnmarshalJSON(data []byte) error
func (*UuidAlias2) UnmarshalYAML ¶
func (a *UuidAlias2) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.