Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unzip ¶
Unzip decompress a zip archive, moving all files and folders within the zip file to the specifid directory (dirpath).
Types ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
ProgressBar can be used to display the progress of a background process on the standard output
func NewProgressBar ¶
func NewProgressBar(total int64) ProgressBar
NewProgressBar returns an instance of ProgressBar
func (*ProgressBar) Finish ¶
func (bar *ProgressBar) Finish()
Finish terminates the progression of the progress bar.
func (*ProgressBar) Update ¶
func (bar *ProgressBar) Update(state int64)
Update updates the state of the progress bar. The value of state is an absolute value (comparable to the total value), and not a percentage.
Click to show internal directories.
Click to hide internal directories.