env
env copied to clipboard
Don't touch struct fields without `env` tag
After https://github.com/caarlos0/env/pull/306 it appears all nil fields in the struct will be initialized to an empty value, even fields without an env tag.
I believe this initialization should only happen if (1) the field has an env tag and (2) the specified environment variable exists (with 1 being critical and 2 debatable).