Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyEnum ¶
type MyEnum int
func (MyEnum) MarshalJSON ¶
MarshalJSON implements json.Marshaler for MyEnum
func (*MyEnum) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler for MyEnum
type MyEnumJSON ¶ added in v0.0.4
type MyEnumJSON int
const ( MyEnumJSONZero MyEnumJSON = iota MyEnumJSONOne MyEnumJSONTwo MyEnumJSONThree )
func (MyEnumJSON) String ¶ added in v0.0.4
func (i MyEnumJSON) String() string
Click to show internal directories.
Click to hide internal directories.