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.
()
| 201 | // This is used for the interface LivePrinter. |
| 202 | // You most likely want to use Start instead of this in your program. |
| 203 | func (s *SpinnerPrinter) GenericStart() (*LivePrinter, error) { |
| 204 | p2, _ := s.Start() |
| 205 | lp := LivePrinter(p2) |
| 206 | return &lp, nil |
| 207 | } |
| 208 | |
| 209 | // GenericStop runs Stop, but returns a LivePrinter. |
| 210 | // This is used for the interface LivePrinter. |
nothing calls this directly
no test coverage detected