go mod init, add stubbed funcs

This commit is contained in:
2023-11-01 23:33:47 -07:00
parent e104e0f686
commit 0b91893d31
3 changed files with 71 additions and 0 deletions

View File

@@ -2,4 +2,22 @@
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