-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: add comments, remove koanf tag, fix toml Duration
This change adds "comment" tags, which are used in two places: - TOML comments for each field or section - cli flag descriptions This also removes the unneeded "koanf" tags and now specify "toml" as the attribute tag used for config merging. Replace a few time.Duration fields with config.Duration so these durations are set correctly as duration strings in TOML rather than giant integers. Finally, remove the replaces from go.mod and go mod tidy.
- Loading branch information
1 parent
7353f27
commit b332b19
Showing
9 changed files
with
103 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.