Versions in this module Expand all Collapse all v2 v2.5.2 Apr 27, 2022 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 Defaults(fs *flag.FlagSet) Source + func Flags(args []string, fs *flag.FlagSet) Source + func JSON(f *string) Source + func YAML(f string, expandEnvVars bool) Source + func YAMLFlag(args []string, name string) Source