Open
Description
Line 144 in 5870123
That line of the readme is a bit confusing. It took navigating the git blame history to find 9cd5712 and reviewing the commit in context for me to understand that it is saying a file named ~/.foo
can be loaded as YAML when viper.SetConfigType("yaml")
is used.
I was looking for a way to support the following file path possibilities:
/etc/foo/config.yaml
$HOME/.foo
$HOME/.foo.yaml
./.foo
./.foo.yaml
It's still not clear to me if I can support that list.
Activity