Versions in this module Expand all Collapse all v9 v9.0.0 Jun 28, 2023 Changes in this version + func Parse(v interface{}) error + func ParseWithOptions(v interface{}, opts Options) error + type AggregateError struct + Errors []error + func (e AggregateError) Error() string + func (e AggregateError) Is(err error) bool + type EmptyEnvVarError struct + Key string + func (e EmptyEnvVarError) Error() string + type EnvVarIsNotSetError struct + Key string + func (e EnvVarIsNotSetError) Error() string + type LoadFileContentError struct + Err error + Filename string + Key string + func (e LoadFileContentError) Error() string + type NoParserError struct + Name string + Type reflect.Type + func (e NoParserError) Error() string + type NoSupportedTagOptionError struct + Tag string + func (e NoSupportedTagOptionError) Error() string + type NotStructPtrError struct + func (e NotStructPtrError) Error() string + type OnSetFn func(tag string, value interface{}, isDefault bool) + type Options struct + Environment map[string]string + FuncMap map[reflect.Type]ParserFunc + OnSet OnSetFn + Prefix string + RequiredIfNoDef bool + TagName string + UseFieldNameByDefault bool + type ParseError struct + Err error + Name string + Type reflect.Type + func (e ParseError) Error() string + type ParseValueError struct + Err error + Msg string + func (e ParseValueError) Error() string + type ParserFunc func(v string) (interface{}, error) Other modules containing this package github.com/caarlos0/env github.com/caarlos0/env/v10 github.com/caarlos0/env/v11 github.com/caarlos0/env/v5 github.com/caarlos0/env/v6 github.com/caarlos0/env/v7 github.com/caarlos0/env/v8