Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Done actions to caculate the % completion from. // Can be set manually or progressivaly with Next and Back. ActionsDone = 0 // Total actions to caculate the % completion from. // Should be set manually. ActionsTotal = 0 // Verbosity 1 extra info is added and msg is appended to the progress bar in Log. // The progress bar will be dynamicly size, progress bar and msg will be cut off respecting the terminal width. // // Verbosity 2 or larger format and v are forwarded to fmt.Printf. Verbose = 0 )
Functions ¶
func Back ¶
Same as Log but will decrement ActionsDone before loging if the verbosity is lower then 2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.