Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5201341251 | |||
| 854819d966 |
@@ -6,6 +6,8 @@
|
||||
* 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: Improve config test comparison robustness using JSON marshaling.
|
||||
## v0.12.3
|
||||
* chore: Upgrade to go 1.25
|
||||
|
||||
# v0.12.0
|
||||
* feat: Add support for excluding HTTP request paths from logging using configurable regular expressions.
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module gitea.libretechconsulting.com/rmcguire/go-app
|
||||
|
||||
go 1.24.2
|
||||
go 1.25
|
||||
|
||||
require (
|
||||
buf.build/go/protovalidate v0.14.0
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user