Versions in this module Expand all Collapse all v0 v0.2.0 Dec 29, 2016 Changes in this version type OptFunc + func Flatten(val bool) OptFunc + func Validator(val ValidateFunc) OptFunc + type ValidateFunc func(val string, field reflect.StructField, cfg interface{}) error v0.1.0 Dec 25, 2016 Changes in this version + type BoolFlag interface + IsBoolFlag func() bool + type Counter int + func (v *Counter) Get() interface{} + func (v *Counter) IsBoolFlag() bool + func (v *Counter) IsCumulative() bool + func (v *Counter) Set(s string) error + func (v *Counter) String() string + func (v *Counter) Type() string + type Flag struct + DefValue string + Deprecated bool + EnvName string + Hidden bool + Name string + Short string + Usage string + Value Value + func ParseStruct(cfg interface{}, optFuncs ...OptFunc) ([]*Flag, error) + type Getter interface + Get func() interface{} + type HexBytes []byte + type OptFunc func(opt *opts) + func DescTag(val string) OptFunc + func EnvDivider(val string) OptFunc + func EnvPrefix(val string) OptFunc + func FlagDivider(val string) OptFunc + func FlagTag(val string) OptFunc + func Prefix(val string) OptFunc + type RepeatableFlag interface + IsCumulative func() bool + type Value interface + Set func(string) error + String func() string + Type func() string