Documentation ¶
Overview ¶
Package progress provides data and functionality to display updates to the terminal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner represents an indicator that an asynchronous operation is taking place.
For short operations, less than 4 seconds, display only the spinner with the Start and Stop methods. For longer operations, display intermediate progress events using the Events method.
func (*Spinner) Events ¶
Events writes additional information below the spinner while the spinner is still in progress. If there are already existing events under the spinner, it replaces them with the new information.
An event is displayed in a table, where columns are separated with the '\t' character.
Directories ¶
Path | Synopsis |
---|---|
deploy
|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |