Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCount ¶ added in v1.1.0
FormatCount formats a count with thousand separators
func FormatDuration ¶ added in v1.1.0
FormatDuration formats a duration as a human-readable string
Types ¶
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
Progress represents a progress bar with rate and ETA estimation Uses curve fitting (quadratic regression) to predict future rates accounting for acceleration/deceleration patterns in the import
func NewProgress ¶
NewProgress creates a new progress bar
func (*Progress) Done ¶
func (p *Progress) Done()
Done finishes the progress bar and shows elapsed time
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner provides a simple animated spinner for long operations
func NewSpinner ¶
NewSpinner creates a new spinner with the given message
Click to show internal directories.
Click to hide internal directories.