GenericStart runs Start, but returns a LivePrinter. This is used for the interface LivePrinter. You most likely want to use Start instead of this in your program.
()
| 330 | // This is used for the interface LivePrinter. |
| 331 | // You most likely want to use Start instead of this in your program. |
| 332 | func (p *ProgressbarPrinter) GenericStart() (*LivePrinter, error) { |
| 333 | p2, _ := p.Start() |
| 334 | lp := LivePrinter(p2) |
| 335 | return &lp, nil |
| 336 | } |
| 337 | |
| 338 | // GenericStop runs Stop, but returns a LivePrinter. |
| 339 | // This is used for the interface LivePrinter. |
nothing calls this directly
no test coverage detected