Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2022 Changes in this version + const EnvTag + func Unmarshaler(dec *strdecode.Decoder) func(dst reflect.Value, typ reflect.Type, src string) error + type Flag struct + Key string + Value *string + func NewFlag(dst interface{}, key string, value string) Flag + type FlagSet struct + Flags Flags + Unmarshal func(dst reflect.Value, typ reflect.Type, src string) error + func (set *FlagSet) Bool(key string, value bool) *bool + func (set *FlagSet) BoolVar(ptr *bool, key string, value bool) + func (set *FlagSet) Bytes(key string, value []byte) *[]byte + func (set *FlagSet) BytesVar(ptr *[]byte, key string, value []byte) + func (set *FlagSet) Float(key string, value float64) *float64 + func (set *FlagSet) FloatVar(ptr *float64, key string, value float64) + func (set *FlagSet) Int(key string, value int) *int + func (set *FlagSet) Int64(key string, value int64) *int64 + func (set *FlagSet) Int64Var(ptr *int64, key string, value int64) + func (set *FlagSet) IntVar(ptr *int, key string, value int) + func (set *FlagSet) Parse(env []string) error + func (set *FlagSet) ParseFile(src io.Reader) error + func (set *FlagSet) String(key string, value string) *string + func (set *FlagSet) StringVar(ptr *string, key string, value string) + func (set *FlagSet) StructFields(dst interface{}) + func (set *FlagSet) Uint(key string, value uint) *uint + func (set *FlagSet) Uint64(key string, value uint64) *uint64 + func (set *FlagSet) Uint64Var(ptr *uint64, key string, value uint64) + func (set *FlagSet) UintVar(ptr *uint, key string, value uint) + func (set *FlagSet) Validate() error + func (set *FlagSet) Var(dst interface{}, key, value string) + type Flags []Flag + func (f Flags) AppendFormat(b []byte) []byte + func (f Flags) Get(key string) *Flag + func (f Flags) Sort() + func (f Flags) String() string + type InvalidFlagError struct + Key string + Msg string + func (err *InvalidFlagError) Error() string