feat(config): add yaml config with generic env override #1

Open
master wants to merge 6 commits from feat/yaml-config into main
Owner

Adds internal/config package using gopkg.in/yaml.v3 and reflection for generic environment variable overrides. Updates main.go to load config and set log level. Adds tests and example config.

Adds internal/config package using gopkg.in/yaml.v3 and reflection for generic environment variable overrides. Updates main.go to load config and set log level. Adds tests and example config.
master added 1 commit 2026-01-15 19:29:38 +01:00
feat(config): add yaml config with generic env override
All checks were successful
CI / Test (pull_request) Successful in 23s
CI / Build (pull_request) Successful in 7s
CI / Docker Build (pull_request) Successful in 21s
CI / Lint (pull_request) Successful in 7s
6623ced227
Adds internal/config package using gopkg.in/yaml.v3 and reflection for generic environment variable overrides. Updates main.go to load config and set log level. Adds tests and example config.
master added 1 commit 2026-01-15 19:37:17 +01:00
feat(config): support cli config path and nested config
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 8s
CI / Build (pull_request) Successful in 7s
CI / Docker Build (pull_request) Successful in 23s
ec689c6152
Adds -config CLI flag to main.go. Moves ParseLogLevel to internal/config. Adds ServerConfig nested struct to Config and corresponding tests for yaml/env overrides.
master added 1 commit 2026-01-15 19:57:08 +01:00
refactor(logging): move logging setup to internal/logging
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 7s
CI / Build (pull_request) Successful in 7s
CI / Docker Build (pull_request) Successful in 21s
4807edd23a
Moves logging configuration and setup to a dedicated package. Updates Config struct to use nested LoggingConfig. Updates main.go to use the new logging package.
master added 1 commit 2026-01-15 19:58:10 +01:00
docs: add configuration and logging documentation
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 8s
CI / Build (pull_request) Successful in 8s
CI / Docker Build (pull_request) Successful in 20s
1dde741885
Adds docs/configuration.md detailing the YAML config structure, environment variable overrides, and logging features.
master added 1 commit 2026-01-15 20:37:19 +01:00
refactor(config): decouple logging config and update readme
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 8s
CI / Build (pull_request) Successful in 7s
CI / Docker Build (pull_request) Successful in 25s
f3dedf47f3
Refactors internal/config to use logging.Config directly, removing duplication. Updates README.md to reference configuration documentation.
master added 1 commit 2026-01-15 20:41:09 +01:00
docs: separate configuration and logging documentation
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 7s
CI / Build (pull_request) Successful in 6s
CI / Docker Build (pull_request) Successful in 20s
1e187140c4
Extracts logging documentation into its own file (docs/logging.md) and updates README.md to link to both configuration and logging guides.
All checks were successful
CI / Lint (pull_request) Successful in 5s
CI / Test (pull_request) Successful in 7s
CI / Build (pull_request) Successful in 6s
CI / Docker Build (pull_request) Successful in 20s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/yaml-config:feat/yaml-config
git checkout feat/yaml-config
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: templates/golang#1
No description provided.