Versions in this module Expand all Collapse all v1 v1.3.19 Jun 6, 2023 v1.3.18 Jun 6, 2023 Changes in this version + func BoolExtVar(f *flag.FlagSet, p *BoolExt, name, usage string) + func DurationExtVar(f *flag.FlagSet, p *DurationExt, name string, defValue time.Duration, ...) + func Start(version, buildtime string) (err error) + type BoolExt struct + IsSet bool + Val bool + func (*BoolExt) IsBoolFlag() bool + func (b *BoolExt) Get() any + func (b *BoolExt) Set(s string) (err error) + func (b *BoolExt) String() string + type DurationExt struct + IsSet bool + Val time.Duration + func (*DurationExt) IsBoolFlag() bool + func (d *DurationExt) Get() any + func (d *DurationExt) Set(s string) (err error) + func (d *DurationExt) String() string