ilyakaznacheev / cleanenv

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

print the name of the env var in the error message when a required var is missing rather than just the struct field name #132

Open lhopcroft123 opened 1 year ago

lhopcroft123 commented 1 year ago

I've made a PR here to address: #131

zbindenren commented 11 months ago

I wanted to create the same issue. Currently a user has to inspect the source code to find out what environment variable is missing.