outputCapture this is a output that keeps live terminal output while capturing combined output.
| 207 | // outputCapture this is a output that keeps live |
| 208 | // terminal output while capturing combined output. |
| 209 | type outputCapture struct { |
| 210 | output io.Writer |
| 211 | } |
| 212 | |
| 213 | func (t outputCapture) Write(p []byte) (int, error) { |
| 214 | return t.output.Write(p) |
nothing calls this directly
no outgoing calls
no test coverage detected