mirror of
https://github.com/Luzifer/rconfig.git
synced 2024-11-10 00:40:04 +00:00
Fix: Documentation was missing a package
This commit is contained in:
parent
d5247bc73a
commit
be3e157291
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ type config struct {
|
||||||
var cfg = config{}
|
var cfg = config{}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
rconfig.SetVariableDefaults(VarDefaultsFromYAMLFile("~/.myapp.yml"))
|
rconfig.SetVariableDefaults(rconfig.VarDefaultsFromYAMLFile("~/.myapp.yml"))
|
||||||
rconfig.Parse(&cfg)
|
rconfig.Parse(&cfg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue