Sensitive implements the Stringer interface to redact its contents. Use this type for sensitive info such as keys, passwords, or secrets so it doesn't leak as output such as logs.
| 14 | // Use this type for sensitive info such as keys, passwords, or secrets so it doesn't leak |
| 15 | // as output such as logs. |
| 16 | type Sensitive []byte |
| 17 | |
| 18 | func (Sensitive) String() string { |
| 19 | return "****" |
no outgoing calls
no test coverage detected