Skip to content

Embed config defaults at build time - #17

Merged
umago merged 1 commit into
mainfrom
config
Jul 21, 2026
Merged

Embed config defaults at build time#17
umago merged 1 commit into
mainfrom
config

Conversation

@umago

@umago umago commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Replaces the hardcoded defaultConfig() with a checked-in defaults.json that is embedded into the binary via //go:embed. Updating defaults now requires editing one file instead of keeping config.go and README.md in sync.

Replaces the hardcoded defaultConfig() with a checked-in defaults.json
that is embedded into the binary via //go:embed. Updating defaults now
requires editing one file instead of keeping config.go and README.md
in sync.

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
@umago
umago merged commit 288d4bc into main Jul 21, 2026
1 check passed
@umago
umago deleted the config branch July 21, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant