term

package
v3.0.0-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableColor

func DisableColor()

func DisableOutput

func DisableOutput()

func EnableOutput

func EnableOutput()

func Error

func Error(input any)
func Header(header string)

func Infof

func Infof(format string, args ...interface{})

func Infofln

func Infofln(format string, args ...interface{})

func IsTerminal

func IsTerminal() bool

func Println

func Println(s string)

func Section

func Section(s string)

func StopSpinner

func StopSpinner(s *Spinner)

func Success

func Success(input any)

func Warning

func Warning(input any)

func Warningf

func Warningf(input any, args ...any)

Types

type Spinner

type Spinner struct {
	// contains filtered or unexported fields
}

func StartSpinner

func StartSpinner(text string) *Spinner

func (*Spinner) Logger

func (s *Spinner) Logger() config.Logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳