Documentation
¶
Overview ¶
Package progress provides a printer that writes dots at a configured interval.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer interface {
// Start outputs a dot (.) every configured interval until Stop is called.
// Note that Start does not block.
Start()
// Stop stops the progress printer, which outputs a newline before exiting.
// Stop blocks until the progress printer has exited.
Stop()
}
Printer outputs a dot (.) every configured interval until Stop is called.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package fakeprogress provides an implementation of the progress.Printer interface to be used in tests.
|
Package fakeprogress provides an implementation of the progress.Printer interface to be used in tests. |
Click to show internal directories.
Click to hide internal directories.