Update config source README file
This commit is contained in:
parent
bb64f94313
commit
5b991cd2c2
2
config/source/env/README.md
vendored
2
config/source/env/README.md
vendored
@ -91,6 +91,6 @@ Load the source into config
|
|||||||
// Create new config
|
// Create new config
|
||||||
conf := config.NewConfig()
|
conf := config.NewConfig()
|
||||||
|
|
||||||
// Load file source
|
// Load env source
|
||||||
conf.Load(src)
|
conf.Load(src)
|
||||||
```
|
```
|
||||||
|
@ -42,6 +42,6 @@ Load the source into config
|
|||||||
// Create new config
|
// Create new config
|
||||||
conf := config.NewConfig()
|
conf := config.NewConfig()
|
||||||
|
|
||||||
// Load file source
|
// Load flag source
|
||||||
conf.Load(flagSource)
|
conf.Load(flagSource)
|
||||||
```
|
```
|
||||||
|
@ -39,6 +39,6 @@ Load the source into config
|
|||||||
// Create new config
|
// Create new config
|
||||||
conf := config.NewConfig()
|
conf := config.NewConfig()
|
||||||
|
|
||||||
// Load file source
|
// Load memory source
|
||||||
conf.Load(memorySource)
|
conf.Load(memorySource)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user