You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does confita support structured configuration? It would be useful to make configurations more clean/organized/structure, and for configurations of growing/large projects.
I have read the README.md, but there's no example for structure config,... And, I didn't find any TOML/YAML/JSON examples of structured configurations.
I would like to populate the following structure:
typeConfigstruct {
// notifications configurationNotificationsstruct {
// turns on user notifications for changes/updates/creationsEnabledbool// from email address of emailsFromstring// BCC addresses of every notification sentBCC []string
}
// SMTP server/mail-sending configurationSMTPstruct {
// format server:portServerAddrstring// plain auth credentialsUsername, Passwordstring// default email address to sent fromDefaultFromstring
}
}
Does confita support structured configuration? It would be useful to make configurations more clean/organized/structure, and for configurations of growing/large projects.
I have read the README.md, but there's no example for structure config,... And, I didn't find any TOML/YAML/JSON examples of structured configurations.
I would like to populate the following structure:
For example, with TOML:
Or, with YAML:
The text was updated successfully, but these errors were encountered: