Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommaList ¶
CommaList returns a flag.Getter for parsing a comma separated flag argument into a string slice.
func FieldSlice ¶
FieldSlice returns a flag.Getter which reads flags into the given []googleapi.Field pointer.
func Int64Slice ¶
Int64Slice returns a flag.Getter which reads flags into the given []int64 pointer.
func StringPairs ¶
StringPairs returns a flag.Getter for parsing strpair.Map from a a set of colon-separated strings. Example: -f a:1 -f a:2 -f b:3 Panics if m is nil.
func StringSlice ¶
StringSlice returns a flag.Getter which reads flags into the given []string pointer.
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package flagenum is a utility package which facilitates implementation of flag.Value, json.Marshaler, and json.Unmarshaler interfaces via a string-to- value mapping.
|
Package flagenum is a utility package which facilitates implementation of flag.Value, json.Marshaler, and json.Unmarshaler interfaces via a string-to- value mapping. |
Package multiflag is a package providing a flag.Value implementation capable of switching between multiple registered sub-flags, each of which have their own set of parameter flags.
|
Package multiflag is a package providing a flag.Value implementation capable of switching between multiple registered sub-flags, each of which have their own set of parameter flags. |
Package stringlistflag provides a flag.Value implementation which resolves multiple args into a []string.
|
Package stringlistflag provides a flag.Value implementation which resolves multiple args into a []string. |
Package stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter.
|
Package stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter. |
Package stringsetflag provides a flag.Value implementation which resolves multiple args into a stringset.
|
Package stringsetflag provides a flag.Value implementation which resolves multiple args into a stringset. |
Click to show internal directories.
Click to hide internal directories.