Documentation
¶
Overview ¶
Package xflag add an additional flag type Array for repeated string flags.
var f xflag.Array flag.Var(&f, "r", "some repeatable flag") flag.Parse() // $ command -r a -r b -r c for _, v := range f { ... } // []string{"a", "b", "c"}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.