Versions in this module Expand all Collapse all v2 v2.0.0 Jun 14, 2023 Changes in this version + var ErrNotPointer = errors.New("dst is not a pointer") + func DefaultUnmarshal(dst Cloneable, args []string, fs *flag.FlagSet) error + func DynamicUnmarshal(dst DynamicCloneable, args []string, fs *flag.FlagSet) error + func Unmarshal(dst Cloneable, sources ...Source) error + type Cloneable interface + Clone func() flagext.Registerer + type DynamicCloneable interface + ApplyDynamicConfig func() Source + type Source func(Cloneable) error + func ConfigFileLoader(args []string, name string, strict bool) Source + func Defaults(fs *flag.FlagSet) Source + func Flags(args []string, fs *flag.FlagSet) Source + func JSON(f *string) Source + func YAML(f string, expandEnvVars bool, strict bool) Source