Currently the usage functionality is entirely ignoring the custom environment keys, with my approach it's first checking if the envconfig:"" tag is set, if it is, it will just use it. I'm also transforing the tag value to uppercase as the variables seem to be uppercase all the time?
Another part that is not entirely clear to me, should the envconfig: tag ignore the prefix? AFAIK it does, but please make that clear to me :)
This should potentially fix https://github.com/kelseyhightower/envconfig/issues/90, but currently the tests are failing because I haven't touched them so far. Before I fix the tests I wanted to clarify the rules.
Currently the usage functionality is entirely ignoring the custom environment keys, with my approach it's first checking if the
envconfig:""
tag is set, if it is, it will just use it. I'm also transforing the tag value to uppercase as the variables seem to be uppercase all the time?Another part that is not entirely clear to me, should the
envconfig:
tag ignore the prefix? AFAIK it does, but please make that clear to me :)