Safe wraps the given object into an opaque struct that implements SafeMessager: its contents can be included as-is in PII-free strings in error objects and reports. NB: this is obsolete. Use redact.Safe instead.
(v interface{})
| 48 | // |
| 49 | // NB: this is obsolete. Use redact.Safe instead. |
| 50 | func Safe(v interface{}) redact.SafeValue { return safedetails.Safe(v) } |
| 51 | |
| 52 | // Redact returns a redacted version of the supplied item that is safe to use in |
| 53 | // anonymized reporting. |
searching dependent graphs…