Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // AddPending adds a number of pending steps AddPending(pending int) // Completed marks a number of steps as completed Completed(completed int) // Create creates a new Interface instance that is nested within the current one. // This is useful for reporting importreporter of a part of the operation. Create(name string) Interface }
Interface is an interface for reporting the importreporter of an import operation.
func NewBar ¶
NewBar creates a new import reporter that displays an on-screen progress bar on the console.
func NewDiscard ¶
func NewDiscard() Interface
NewDiscard creates a new import reporter that discards all updates.
Click to show internal directories.
Click to hide internal directories.