diff --git a/pkg/config/config.go b/pkg/config/config.go index 9fcb11f..25cc7be 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -63,7 +63,7 @@ func loadConfig(configPath string) (*AppConfig, error) { } } - if err := env.Parse(&cfg); err != nil { + if err := env.ParseWithOptions(&cfg, env.Options{DefaultValueTagName: "default"}); err != nil { return nil, fmt.Errorf("could not parse environment variables: %w", err) }