Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncBoolVar ¶
FuncBoolVar is a type of flag that accepts a function, converts the user's value to a bool, and then calls the given function.
func (FuncBoolVar) IsBoolFlag ¶
func (f FuncBoolVar) IsBoolFlag() bool
func (FuncBoolVar) Set ¶
func (f FuncBoolVar) Set(s string) error
func (FuncBoolVar) String ¶
func (f FuncBoolVar) String() string
type FuncDurationVar ¶
FuncDurationVar is a type of flag that accepts a function, converts the user's value to a duration, and then calls the given function.
func (FuncDurationVar) IsBoolFlag ¶
func (f FuncDurationVar) IsBoolFlag() bool
func (FuncDurationVar) Set ¶
func (f FuncDurationVar) Set(s string) error
func (FuncDurationVar) String ¶
func (f FuncDurationVar) String() string
type FuncVar ¶
FuncVar is a type of flag that accepts a function that is the string given by the user.
func (FuncVar) IsBoolFlag ¶
type StringFlag ¶
type StringFlag []string
StringFlag implements the flag.Value interface and allows multiple calls to the same variable to append a list.
func (*StringFlag) Set ¶
func (s *StringFlag) Set(value string) error
func (*StringFlag) String ¶
func (s *StringFlag) String() string
Click to show internal directories.
Click to hide internal directories.