Documentation ¶
Overview ¶
Package util contains shared functions used by several packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CLIDescription ¶
func WorkerPool ¶
WorkerPool will launch ws workers at the same time and wait for them all to complete.
func WrapToMargin ¶
Types ¶
type CLIStringSlice ¶
type CLIStringSlice []string
CLIStringSlice is used to accept multiple values from a CLI argument like:
-foo value1 -foo value2
Usage:
var foos CLIStringSlice flag.Var(&foos, "foo", "Some description for this param.")
func (*CLIStringSlice) Set ¶
func (i *CLIStringSlice) Set(value string) error
func (*CLIStringSlice) String ¶
func (i *CLIStringSlice) String() string
Click to show internal directories.
Click to hide internal directories.