This is the update logic, renders the progressbar
()
| 198 | |
| 199 | // This is the update logic, renders the progressbar |
| 200 | func (p *ProgressbarPrinter) updateProgress() *ProgressbarPrinter { |
| 201 | Fprinto(p.Writer, p.getString()) |
| 202 | return p |
| 203 | } |
| 204 | |
| 205 | func (p *ProgressbarPrinter) getString() string { |
| 206 | if !p.IsActive { |
no test coverage detected