Open aes opened 6 months ago
š Thanks for reporting!
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 have a couple minutes, please take some time and share your thoughts: https://forms.gle/R6faU74qPRPAzchZ9
š£ 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:
https://twitter.com/sagikazarmark/status/1306904078967074816
Thank you! ā¤ļø
@aes I'd be happy to review a PR fixing the order.
Preflight Checklist
Viper Version
v1.18.2
Go Version
1.21.1
Config Source
Manual set
Format
YAML
Repl.it link
No response
Code reproducing the issue
Expected Behavior
Actual Behavior
Configuration file locations are searched in order specified, which is sane and good, but the documentation suggests the opposite.
Steps To Reproduce
No response
Additional Information
Please reorder these lines.
Also, consider using
"$HOME/.config/appname/"
for the user directory one. (Don't get me started on the single-dash long-args thing, I've given up on golang on that point.)