2 Commits

Author SHA1 Message Date
5201341251 add default tag name 2025-12-22 15:37:55 -05:00
854819d966 upgrade go 2025-09-02 13:20:21 -04:00
3 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,8 @@
* chore: Add new test suites for logging, OpenTelemetry initialization, gRPC server setup, and HTTP server setup. * chore: Add new test suites for logging, OpenTelemetry initialization, gRPC server setup, and HTTP server setup.
* chore: Enhance configuration loading tests to cover file and environment variable sources. * chore: Enhance configuration loading tests to cover file and environment variable sources.
* chore: Improve config test comparison robustness using JSON marshaling. * chore: Improve config test comparison robustness using JSON marshaling.
## v0.12.3
* chore: Upgrade to go 1.25
# v0.12.0 # v0.12.0
* feat: Add support for excluding HTTP request paths from logging using configurable regular expressions. * feat: Add support for excluding HTTP request paths from logging using configurable regular expressions.

2
go.mod
View File

@@ -1,6 +1,6 @@
module gitea.libretechconsulting.com/rmcguire/go-app module gitea.libretechconsulting.com/rmcguire/go-app
go 1.24.2 go 1.25
require ( require (
buf.build/go/protovalidate v0.14.0 buf.build/go/protovalidate v0.14.0

View File

@@ -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) return nil, fmt.Errorf("could not parse environment variables: %w", err)
} }