Merge pull request #728 from wuyumin/master

Update config source README file
This commit is contained in:
Asim Aslam 2019-09-04 09:16:04 +01:00 committed by GitHub
commit 147899283c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
# Develop tools
/.vscode/
/.idea/
# Binaries for programs and plugins # Binaries for programs and plugins
*.exe *.exe
*.exe~ *.exe~

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