Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HideBar ¶
func HideBar() func(*ProgressLog)
func LineLength ¶
func LineLength(characters int) func(*ProgressLog)
func ShowPercent ¶
func ShowPercent() func(*ProgressLog)
func ToWriter ¶
func ToWriter(w io.Writer) func(*ProgressLog)
Types ¶
type ProgressLog ¶
type ProgressLog struct {
// contains filtered or unexported fields
}
func NewProgressLog ¶
func NewProgressLog(maxSteps int, options ...func(*ProgressLog)) *ProgressLog
func (*ProgressLog) Clear ¶
func (l *ProgressLog) Clear(newMessage string)
func (*ProgressLog) Log ¶
func (l *ProgressLog) Log(currentStep int, message string)
Click to show internal directories.
Click to hide internal directories.