joho / godotenv

A Go port of Ruby's dotenv library (Loads environment variables from .env files)
http://godoc.org/github.com/joho/godotenv
MIT License
8.5k stars 406 forks source link

Add support for optional double quotes #152

Open amanangira opened 3 years ago

amanangira commented 3 years ago

Although, the package does the job of parsing and writing the environment variables very well. But double quotes in .env files are not treated similarly everywhere. I have a use case, where I need to update the .env values and the variables defined in .env need to be referred in docker-compose.yml which pulls in the double quotes as well.