Skip to content

Commit a9d9a2a

Browse files
committed
Readme updated
1 parent 73a2cc4 commit a9d9a2a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,9 @@ What methods this package have:
6868
1. `LoadConfig [T any] (configFile string) (T, error)` for loading without overriding
6969
2. `LoadConfigWithEnv [T any] (configFile string) (T, error)` for loading with override
7070

71-
## 3. Full example
71+
## 3. Full example
72+
73+
A full example could be found in the test `TestLoadJSONConfigWithEnvOverride` ![test_file](./config_loader_test.go)
74+
In This test were set 3 variables of different types: `bool`, `int` and `float`
75+
76+
Real App usage will be shown later after this package Release && usage in `Ferrum Community Authorization Server`

0 commit comments

Comments
 (0)