Skip to content

Commit

Permalink
+ toml example in FileLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
bogcon committed Oct 3, 2022
1 parent bb520cf commit 9d39de8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loader_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func ExampleFileLoader() {
"testdata/.env",
"testdata/config.ini",
"testdata/config.properties",
"testdata/config.toml",
}
for _, filePath := range exampleFiles {
loader := xconf.FileLoader(filePath)
Expand All @@ -191,4 +192,5 @@ func ExampleFileLoader() {
// 4
// 6
// 4
// 7
}

0 comments on commit 9d39de8

Please sign in to comment.