From 52013412519f2b188ed7f740ce3391efd42670c7 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Mon, 22 Dec 2025 15:37:55 -0500 Subject: [PATCH] add default tag name --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }