var ( Template pb.ProgressBarTemplate = "" /* 140 byte string literal not displayed */ PipeTemplate pb.ProgressBarTemplate = "" /* 222 byte string literal not displayed */ )
File is a wrapper around a file which updates a progress bar as it's read.
Open is identical to os.Open except that file is wrapped in a progress bar that updates as you read from it .
Stdin returns os.Stdin except that it's wrapped in a progress bar that updates as you read from it.
Close closes the wrapped file and finishes the progress bar.
Finish finishes the progress bar without closing the wrapped file, this should be used if the wrapped file is something you don't want to close (for example stdin), but you don't want future reads to be printed as progress.
Read reads bytes from wrapped file and adds amount of bytes to progress bar
Seek seeks the wrapped file and updates the progress bar.