(r io.Reader)
| 333 | } |
| 334 | |
| 335 | func sanitizedReader(r io.Reader) io.Reader { |
| 336 | return transform.NewReader(r, sanitizer{}) |
| 337 | } |
| 338 | |
| 339 | // sanitizer replaces non-printable characters with their printable representations |
| 340 | type sanitizer struct{ transform.NopResetter } |
no outgoing calls