mirror of
https://github.com/taigrr/jety.git
synced 2026-04-02 11:29:05 -07:00
24 lines
543 B
Markdown
24 lines
543 B
Markdown
# JETY
|
|
|
|
JSON, ENV, YAML, TOML
|
|
|
|
This is a package for collapsing multiple configuration stores (env+json, env+yaml, env+toml) and writing them back to a centralized config.
|
|
|
|
It should behave similarly to the AutomaticEnv functionality of viper, but without some of the extra heft of the depedendencies it carries.
|
|
|
|
|
|
.AutomaticEnv
|
|
.ConfigFileUsed
|
|
.GetDuration
|
|
.GetString
|
|
.GetStringMap
|
|
.GetStringSlice
|
|
.ReadInConfig
|
|
.SetConfigFile
|
|
.SetConfigName
|
|
.SetConfigType
|
|
.SetDefault
|
|
.Set("privkey", string
|
|
viper.ConfigFileNotFoundError); ok {
|
|
.WriteConfig
|