Repository navigation
Replies: 2 comments
|
Small bump, would like to see the same happening. I got a |
0 replies
|
Currently, you can only read one file with Viper. You can however merge in config with one of the merge functions: https://pkg.go.dev/github.com/spf13/viper#MergeConfigMap You can also manually set values by calling |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm just exploring the viper. And curious to know if we can override the config from a file?
So that I can get:
I have read everything but I couldn't find a way to override the config file. Isn't it possible?
All reactions