kelseyhightower / envconfig

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

varInfo type is not exported - can't write custom template functions #156

Open sknaumov opened 4 years ago

sknaumov commented 4 years ago

I want to write a custom template with custom template functions like in Usagef and then pass it to Usaget. I just do not want to duplicate tags and if I already have a tag "comment" I do not want to create tag "desc" with the very same content.

Unfortunately, currently I can't do it, as type varInfo is not exported by envconfig package.