-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- the original aim of config package is to support template inside YAML, kind of like what Ansible is doing, it was invented for Xephon-B. We first use a non standard template engine (I even forgot its name now), and then switched to using standard library's `text/template`, this syntax is a bit awkward when for loop is used, it's ok when using things like `{{env KEY_NAME}}` - however, when not writing bechmark config, the template feature is not that useful, normally I just unmarshal the yaml to struct and that's it - I am not sure what v2 of config would be, maybe support more format or enforce the struct/interface of config struct. (It used to have a validation interface that check the config and its fields manually) or just allow downloading config file from the wire
- Loading branch information
Showing
13 changed files
with
10 additions
and
5 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.