Documentation
¶
Index ¶
- func Fprintf(w io.Writer, format string, a ...any) (int, error)
- func GetProgressMessageWidth(displayPath bool) int
- func GetProgressWriter(displayPath bool) progress.Writer
- func GetShortTrackerMessage(taskType string, taskName string, messageLen int) string
- func GetTrackerName(taskType string, taskName string) string
- func InitTerminalOutput()
- func Input(msg string) string
- func InputInt(msg string) int
- func InputPassword(msg string) string
- func InputYN(msg string) bool
- func Print(a ...any) (n int, err error)
- func PrintErrorf(format string, a ...any) (int, error)
- func PrintInfof(format string, a ...any) (n int, err error)
- func PrintInfoln(a ...any) (n int, err error)
- func Printf(format string, a ...any) (n int, err error)
- func Println(a ...any) (n int, err error)
- type ProgressTrackerCallback
- type TerminalWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProgressMessageWidth ¶
func GetProgressWriter ¶
func GetShortTrackerMessage ¶
func GetTrackerName ¶
func InitTerminalOutput ¶
func InitTerminalOutput()
func InputPassword ¶
func PrintInfoln ¶
Types ¶
type ProgressTrackerCallback ¶
type TerminalWriter ¶
type TerminalWriter struct {
// contains filtered or unexported fields
}
func GetTerminalWriter ¶
func GetTerminalWriter() *TerminalWriter
func (*TerminalWriter) Lock ¶
func (writer *TerminalWriter) Lock()
func (*TerminalWriter) Unlock ¶
func (writer *TerminalWriter) Unlock()
Click to show internal directories.
Click to hide internal directories.