| 20 | } |
| 21 | |
| 22 | type MultiPrinter struct { |
| 23 | IsActive bool |
| 24 | Writer io.Writer |
| 25 | UpdateDelay time.Duration |
| 26 | |
| 27 | printers []LivePrinter |
| 28 | buffers []*bytes.Buffer |
| 29 | area AreaPrinter |
| 30 | } |
| 31 | |
| 32 | // SetWriter sets the writer for the AreaPrinter. |
| 33 | func (p *MultiPrinter) SetWriter(writer io.Writer) { |
nothing calls this directly
no outgoing calls
no test coverage detected