Versions in this module Expand all Collapse all v0 v0.0.1 Oct 30, 2023 Changes in this version + func LoadFromEnv(cfgs ...Config[T]) (*T, error) + type Config struct + DefaultValue *T + EnvFileOverride bool + EnvFilePath string + Parsers map[reflect.Type]Parser + UseEnvFile bool + Validators map[string]Validator + func DefaultConfig() Config[T] + type ConfigTag struct + Default *string + Name string + Optional bool + Unset bool + Validator *string + func NewConfigTag(name string) ConfigTag + type FieldConfig struct + Validate *Validator + type Parser = func(fc *FieldConfig, fieldValue string, rv reflect.Value) error + type Validator = func(envName, value string) error