From bb64f9431382c9056b1a423a3fd5b0ed6db409be Mon Sep 17 00:00:00 2001 From: Yumin Wu Date: Wed, 4 Sep 2019 15:47:46 +0800 Subject: [PATCH 1/2] .gitignore file for develop tools --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 608e9d0d..500d68ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# Develop tools +/.vscode/ +/.idea/ + # Binaries for programs and plugins *.exe *.exe~ From 5b991cd2c2d06bfde25136daa0b75c06a996e1da Mon Sep 17 00:00:00 2001 From: Yumin Wu Date: Wed, 4 Sep 2019 15:49:58 +0800 Subject: [PATCH 2/2] Update config source README file --- config/source/env/README.md | 2 +- config/source/flag/README.md | 2 +- config/source/memory/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/source/env/README.md b/config/source/env/README.md index 25bfa07a..61a18f8d 100644 --- a/config/source/env/README.md +++ b/config/source/env/README.md @@ -91,6 +91,6 @@ Load the source into config // Create new config conf := config.NewConfig() -// Load file source +// Load env source conf.Load(src) ``` diff --git a/config/source/flag/README.md b/config/source/flag/README.md index fb78bae2..79e5cb54 100644 --- a/config/source/flag/README.md +++ b/config/source/flag/README.md @@ -42,6 +42,6 @@ Load the source into config // Create new config conf := config.NewConfig() -// Load file source +// Load flag source conf.Load(flagSource) ``` diff --git a/config/source/memory/README.md b/config/source/memory/README.md index 7f1a4008..adef980b 100644 --- a/config/source/memory/README.md +++ b/config/source/memory/README.md @@ -39,6 +39,6 @@ Load the source into config // Create new config conf := config.NewConfig() -// Load file source +// Load memory source conf.Load(memorySource) ```