diff --git a/README.md b/README.md index 0529917..f42e19e 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ func main() { } // Load YAML config and merge into the previously loaded config (because we can). - k.Load(file.Provider("mock/mock.yaml"), yaml.Parser()) + k.Load(file.Provider("mock/mock.yml"), yaml.Parser()) fmt.Println("parent's name is = ", k.String("parent1.name")) fmt.Println("parent's ID is = ", k.Int("parent1.id")) @@ -105,7 +105,7 @@ func main() { } // Load YAML config and merge into the previously loaded config (because we can). - k.Load(file.Provider("mock/mock.yaml"), yaml.Parser()) + k.Load(file.Provider("mock/mock.yml"), yaml.Parser()) fmt.Println("parent's name is = ", k.String("parent1.name")) fmt.Println("parent's ID is = ", k.Int("parent1.id")) @@ -454,7 +454,7 @@ func main() { } // Load YAML config and merge into the previously loaded config (because we can). - k.Load(file.Provider("mock/mock.yaml"), yaml.Parser()) + k.Load(file.Provider("mock/mock.yml"), yaml.Parser()) fmt.Println("parent's name is = ", k.String("parent1.name")) fmt.Println("parent's ID is = ", k.Int("parent1.id")) diff --git a/examples/default-values/main.go b/examples/default-values/main.go index 86c20e3..cfed2e8 100644 --- a/examples/default-values/main.go +++ b/examples/default-values/main.go @@ -29,7 +29,7 @@ func main() { } // Load YAML config and merge into the previously loaded config (because we can). - k.Load(file.Provider("mock/mock.yaml"), yaml.Parser()) + k.Load(file.Provider("mock/mock.yml"), yaml.Parser()) fmt.Println("parent's name is = ", k.String("parent1.name")) fmt.Println("parent's ID is = ", k.Int("parent1.id")) diff --git a/examples/read-file/main.go b/examples/read-file/main.go index 81f104d..960672b 100644 --- a/examples/read-file/main.go +++ b/examples/read-file/main.go @@ -21,7 +21,7 @@ func main() { } // Load YAML config and merge into the previously loaded config (because we can). - k.Load(file.Provider("mock/mock.yaml"), yaml.Parser()) + k.Load(file.Provider("mock/mock.yml"), yaml.Parser()) fmt.Println("parent's name is = ", k.String("parent1.name")) fmt.Println("parent's ID is = ", k.Int("parent1.id"))