github.com/rsjethani/secret/v2 (go): Package secret provides types to guard your secret values from leaking into logs, std* etc.  The objective is to disallow writing/serializing of secret values to std*, logs, JSON string etc. but provide access to the secret when requested explicitly.
Keywords: go|secrets