ilyakaznacheev / cleanenv

✨Clean and minimalistic environment configuration reader for Golang
MIT License
1.67k stars 116 forks source link

feat request: option to add multiple config path based on various environment. #150

Open pansachin opened 2 months ago

pansachin commented 2 months ago

@ilyakaznacheev

Problem: Generally config path differs for local vs prod/dev/staging. In that case developers has to go with if,else based on environment.

Solution: It will be nice to have an option to add different config file path based on different environment or use cases and read the last valid config file.