Versions in this module Expand all Collapse all v0 v0.19.0 Jun 7, 2022 v0.18.0 Jun 7, 2022 Changes in this version + type Config struct + AllFieldRequired bool + AllowDuplicates bool + AllowUnknownEnvs bool + AllowUnknownFields bool + AllowUnknownFlags bool + Args []string + DontGenerateTags bool + EnvPrefix string + FailOnFileNotFound bool + FileDecoders map[string]FileDecoder + FileFlag string + FileSystem fs.FS + Files []string + FlagDelimiter string + FlagPrefix string + MergeFiles bool + SkipDefaults bool + SkipEnv bool + SkipFiles bool + SkipFlags bool + type Field interface + Name func() string + Parent func() (Field, bool) + Tag func(tag string) string + type FileDecoder interface + DecodeFile func(filename string) (map[string]interface{}, error) + Format func() string + type Loader struct + func LoaderFor(dst interface{}, cfg Config) *Loader + func (l *Loader) Flags() *flag.FlagSet + func (l *Loader) Load() error + func (l *Loader) WalkFields(fn func(f Field) bool)