kelseyhightower / envconfig

Golang library for managing configuration data from environment variables
MIT License
5.02k stars 377 forks source link

Special-case prefix "" to not prepend _ #38

Closed teepark closed 8 years ago

teepark commented 8 years ago

Fixes #37

teepark commented 8 years ago

@kelseyhightower this is a minor backwards incompatibility -- users could currently be setting a _THING variable and have it work with an empty prefix today.

I think a case can be made that they were working around a bug in that case though. I'd appreciate your thoughts.