()
| 488 | } |
| 489 | |
| 490 | func Example_newlines() { |
| 491 | var b Buffer |
| 492 | b.SetMode(UnsafeEscaped) |
| 493 | b.WriteString("a\n") |
| 494 | fmt.Printf("%q\n", b.RedactableBytes()) |
| 495 | |
| 496 | // Output: |
| 497 | // "‹a›\n" |
| 498 | } |
| 499 | |
| 500 | func Example_mixed_writes() { |
| 501 | testCases := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…