console

package
v0.0.0-...-2e1bc12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL