Documentation ¶
Overview ¶
Code generated by go-enum-encoding DO NOT EDIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UndefinedColor = Color{} // json:"" Red = Color{1} // json:"red" Green = Color{2} // json:"green" Blue = Color{3} // json:"blue" Purple, Orange = Color{4}, Color{5} // json:"blue" )
View Source
var ErrUnknownColor = errors.New("unknown Color")
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color struct {
// contains filtered or unexported fields
}
func (Color) MarshalText ¶
func (*Color) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.