Documentation ¶
Overview ¶
Package flags provide convenience types and routines to accept specific types of flag values on the command line.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationSlice ¶
DurationSlice returns a flag representing a slice of time.Duration objects.
func StringWithAllowedValues ¶
StringWithAllowedValues returns a flag variable of type stringFlagWithAllowedValues configured with the provided parameters. 'allowed` is the set of values that this flag can be set to.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.