Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Android ¶
type Android uint
Android is an enum for different Android versions
const ( Android44 Android = iota Android50 Android51 Android60 Android70 Android71 Android80 Android81 Android90 )
Android consts
func AndroidString ¶
AndroidString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (Android) IsAAndroid ¶
IsAAndroid returns "true" if the value is listed in the enum definition. "false" otherwise
func (Android) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Android
func (*Android) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Android
type Platform ¶
type Platform uint
Platform is an enum for different chip architectures
func PlatformString ¶
PlatformString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func PlatformValues ¶
func PlatformValues() []Platform
PlatformValues returns all values of the enum
func (Platform) IsAPlatform ¶
IsAPlatform returns "true" if the value is listed in the enum definition. "false" otherwise
func (Platform) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Platform
func (*Platform) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Platform
type Variant ¶
type Variant uint
Variant is an enum for different package variations
const ( VariantTvstock Variant = iota VariantPico VariantNano VariantMicro VariantMini VariantFull VariantStock VariantSuper VariantAroma )
Variant consts
func VariantString ¶
VariantString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (Variant) IsAVariant ¶
IsAVariant returns "true" if the value is listed in the enum definition. "false" otherwise
func (Variant) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Variant
func (*Variant) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Variant