Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Nov 30, 2024
1 parent 73a2cc4 commit a9d9a2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,9 @@ What methods this package have:
1. `LoadConfig [T any] (configFile string) (T, error)` for loading without overriding
2. `LoadConfigWithEnv [T any] (configFile string) (T, error)` for loading with override

## 3. Full example
## 3. Full example

A full example could be found in the test `TestLoadJSONConfigWithEnvOverride` ![test_file](./config_loader_test.go)
In This test were set 3 variables of different types: `bool`, `int` and `float`

Real App usage will be shown later after this package Release && usage in `Ferrum Community Authorization Server`

0 comments on commit a9d9a2a

Please sign in to comment.