Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DurationType = reflect.TypeOf(time.Duration(0))
View Source
var UnmarshalerType = reflect.TypeOf((*Unmarshaler)(nil)).Elem()
Functions ¶
func MustPopulateFlagsFromStruct ¶
func MustPopulateFlagsFromStruct(s interface{}) []cli.Flag
func PopulateFlagsFromStruct ¶
func PopulateFlagsFromStruct(s interface{}) ([]cli.Flag, error)
func PopulateStructFromCliContext ¶
func PopulateStructFromCliContext(cfg interface{}, c *cli.Context) error
Types ¶
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.