Documentation
¶
Index ¶
Constants ¶
View Source
const ( //OrdNotSelected is the order number for not selected level. OrdNotSelected ord = iota //OrdBeginner is the order number for the beginner level. OrdBeginner //OrdIntermediate is the order number for the intermediate level. OrdIntermediate //OrdAdvanced is the order number for the advanced level. OrdAdvanced //OrdMaster is the order number for the master level. OrdMaster )
View Source
const MaxNum = uint8(MaxOrd)
MaxNum is the maximal number value for order number.
View Source
const MaxOrd = OrdMaster
MaxOrd is the maximal order number.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level struct {
// contains filtered or unexported fields
}
Level represents level enum.
func (Level) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (*Level) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.