Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuffStrings ¶
func BuffStrings() []string
BuffStrings returns a slice of all String values of the enum
Types ¶
type Buff ¶
type Buff int
func BuffString ¶
BuffString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (Buff) IsABuff ¶
IsABuff returns "true" if the value is listed in the enum definition. "false" otherwise
func (Buff) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Buff
func (*Buff) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Buff
Click to show internal directories.
Click to hide internal directories.