Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalStrings ¶ added in v1.0.5
func CanonicalStrings() []string
CanonicalStrings returns a slice of all String values of the enum
Types ¶
type Canonical ¶
type Canonical int
Canonical it's the type that defines the different Sources supported
func CanonicalString ¶
CanonicalString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func CanonicalValues ¶
func CanonicalValues() []Canonical
CanonicalValues returns all values of the enum
func (Canonical) IsACanonical ¶
IsACanonical returns "true" if the value is listed in the enum definition. "false" otherwise
Click to show internal directories.
Click to hide internal directories.