Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFrequencies ¶
func LoadFrequencies(frequencyStrs []string) []simpleradio.RadioFrequency
func SetupZerolog ¶
func SetupZerolog(levelName, formatName string)
Types ¶
type Enum ¶ added in v0.13.2
type Enum struct {
// contains filtered or unexported fields
}
func NewEnum ¶
NewEnum creates a enumerated flag that updates the provided string variable when set. The first argument is a hint for use in help text. The second argument is the default value, or "" if there is no default. The remaining arguments are the valid options (a provided default value will be added to the list of options).
Click to show internal directories.
Click to hide internal directories.