Replies: 1 comment
-
|
See my answer on related issue. |
Beta Was this translation helpful? Give feedback.
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.
-
Hi friends,
I have configuration struct like below,
I configured my viper instance to read from env. To do that i wrote something like below,
It works and fills keys in viper.
For example,
OR
But when i unmarshal to struct Encryption is nil. It is not populated.
Has anyone faced this issue?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions