Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
Duration bind duration to flag.
func NewDuration ¶
NewDuration return duration binding.
type StringSlice ¶
type StringSlice struct {
// contains filtered or unexported fields
}
StringSlice bind string slice to flag.
func NewStringSlice ¶
func NewStringSlice(slice *[]string) *StringSlice
NewStringSlice return string slice binding.
func (*StringSlice) Set ¶
func (stringSlice *StringSlice) Set(value string) error
Set split value by comma and assign to inner slice.
func (*StringSlice) String ¶
func (stringSlice *StringSlice) String() string
String return joined by comma slice.
Click to show internal directories.
Click to hide internal directories.