From 06bf8c63e368761bca8e4c368cbd8a0117ae4286 Mon Sep 17 00:00:00 2001 From: Ilya Kaznacheev Date: Thu, 18 Aug 2022 13:06:33 +0300 Subject: [PATCH] Add a note on .env file usage Signed-off-by: Ilya Kaznacheev --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a9338bd..2f4e5ed 100644 --- a/README.md +++ b/README.md @@ -243,11 +243,15 @@ func (c *Config) Update() error { There are several most popular config file formats supported: -- YAML -- JSON -- TOML -- ENV -- EDN +- YAML (`.yaml`, `.yml`) +- JSON (`.json`) +- TOML (`.toml`) +- EDN (`.edn`) +- ENV (`.env`) + +**Note**: +- while using `.env` file the library will set corresponding data to process environment variables. + It will override existing variables with the same keys in the process environment. ## Integration