Update config source README file

This commit is contained in:
Yumin Wu 2019-09-04 15:49:58 +08:00
parent bb64f94313
commit 5b991cd2c2
3 changed files with 3 additions and 3 deletions

View File

@ -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)
``` ```

View File

@ -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)
``` ```

View File

@ -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)
``` ```