kelseyhightower / envconfig

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

ParseError can now redact the error message #187

Closed diegosantochi closed 3 years ago

diegosantochi commented 3 years ago

This PR adds the support necessary for a new struct tag redacted. If that tag is true, then the error string from the ParseError will have all occurrences of the value redacted

A couple of notes about this change: