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
A maintainer will take a look at your issue shortly. 👀
In the meantime: We are working on Viper v2 and we would love to hear your thoughts about what you like or don't like about Viper, so we can improve or fix those issues.
📣 If you've already given us your feedback, you can still help by spreading the news,
either by sharing the above link or telling people about this on Twitter:
I've also encountered this issue, and I've currently resolved it by using viper.BindEnv("HOME"). However, this doesn't seem very user-friendly. Could you please confirm if this bug has been fixed? I'm currently using Go 1.20.3 and Viper v1.17.0.
Preflight Checklist
Viper Version
1.15.0
Go Version
1.17.8
Config Source
Environment variables
Format
Other (specify below)
Repl.it link
No response
Code reproducing the issue
Expected Behavior
I want to get the value of home from the structure
output:
/Users/cy
/Users/cy
Actual Behavior
output:
/Users/cy
Steps To Reproduce
computer:
macOS Catalina version: 10.15.7(19h15)
MacBook Pro (15-inch, 2018)
Additional Information
No response
The text was updated successfully, but these errors were encountered: