Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( All = []MyEnum{ Thing1, Thing2, Thing3, } )
View Source
var ErrInvalid = errors.New("invalid enumeration type")
Functions ¶
Types ¶
type MyEnum ¶
type MyEnum string
func (MyEnum) MarshalJSON ¶
func (MyEnum) MarshalYAML ¶
func (*MyEnum) UnmarshalJSON ¶
func (*MyEnum) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.