(p []byte)
| 41 | } |
| 42 | |
| 43 | func (pw *prefixWriter) Write(p []byte) (int, error) { |
| 44 | n, err := pw.buff.Write(p) |
| 45 | if err != nil { |
| 46 | return n, err |
| 47 | } |
| 48 | |
| 49 | return n, pw.writeOutputLines(false) |
| 50 | } |
| 51 | |
| 52 | func (pw *prefixWriter) close() error { |
| 53 | return pw.writeOutputLines(true) |
nothing calls this directly
no test coverage detected