Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
type Interface interface { // Start reports that an operation or sequence of operations is starting; // any operation in progress is ended. Start(message string, args ...interface{}) // Success reports that the last operation succeeded with the specified message. Success(message string, args ...interface{}) // Failure reports that the last operation failed with the specified message. Failure(message string, args ...interface{}) // End the current operation that was previously initiated via Start. End() // Warning reports a warning message for the last operation. Warning(message string, args ...interface{}) // Error wraps err with the supplied message, reports it as a failure, ends the current operation, and returns the error. // If err is nil, does nothing and returns nil. Error(err error, message string, args ...interface{}) error }
Interface for reporting on the progress of an operation.
type Tracker ¶
type Tracker struct { Interface // contains filtered or unexported fields }
func NewTracker ¶
func (*Tracker) HasFailures ¶
func (*Tracker) HasWarnings ¶
Click to show internal directories.
Click to hide internal directories.