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