Documentation
¶
Overview ¶
Package customflag provides additional flag.Value implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MultiString ¶
MultiString defines a []string flag with specified name and usage string. The returned value is the address of a []string variable that stores the value of the flag.
The default value is a nil slice. Each occurrence of the flag in the command line appends the value to the slice.
func MultiStringVar ¶
MultiStringVar defines a []string flag with specified name and usage string. The argument p points to a []string variable in which to store the value of the flag.
The default value is a nil slice. Each occurrence of the flag in the command line appends the value to the slice.
func NewMultiStringValue ¶
NewMultiStringValue returns a flag.Value for a []string flag. The argument p points to a []string variable in which to store the value of the flag.
The default value is a nil slice. Each occurrence of the flag in the command line appends the value to the slice.
Types ¶
This section is empty.