kelseyhightower / envconfig

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

Set `split_words` as a global option #190

Closed abemedia closed 2 years ago

abemedia commented 3 years ago

Right now I'm having to add the split_words tag to almost every single field in the struct. It would be great if this could be set as a global option.

stigok commented 2 years ago

This would be breaking so many builds. Already closed here #122

abemedia commented 2 years ago

I never suggested setting it as default but having a global option

stigok commented 2 years ago

I never suggested setting it as default but having a global option

You are right, I'm sorry. I jumped to conclusions after misinterpreting the title.

abemedia commented 2 years ago

Good point... The title is a bit misleading!