Skip to content

Commit

Permalink
Add a note on .env file usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakaznacheev authored Aug 18, 2022
2 parents 5423d73 + 06bf8c6 commit 20760f4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 20760f4

Please sign in to comment.