Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnumString ¶
EnumString returns a comma-separated string of the enum values. This is primarily used to generate a cli flag.
Types ¶
type Stringered ¶
type Stringered string
Stringered wraps the string type to implement the fmt.Stringer interface.
func StringeredList ¶
func StringeredList(values []string) []Stringered
StringeredList converts a list of strings to a list of Stringered.
Click to show internal directories.
Click to hide internal directories.