Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Verbose can be set to show debug lines Verbose bool )
Functions ¶
func Debug ¶
func Debug(format string, a ...interface{})
Debug will output only if the Verbose flag is set.
Types ¶
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation represents something currently happening that can be completed, failed or abandoned.
func Info ¶
Info prints the string and returns an Operation that can be used to control whether a check mark or ballot x is placed at the end of the line.
func (*Operation) Abandon ¶
func (o *Operation) Abandon()
Abandon just prints a new line without a symbol
Click to show internal directories.
Click to hide internal directories.