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.49k stars 405 forks source link

Variables in dotenv file starting with capital letter when they shouldn't #195

Closed eademir closed 2 years ago

eademir commented 2 years ago

for example for my dotenv file:

BAR=bar FOO=foo

But when I call os.Getenv("BAR") it's returning "Bar". How can I prevent this without lowercased it with extra code.