term

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
}

func (*Builder) New

func (b *Builder) New(msg string) progress.Progress

type QuietBuilder

type QuietBuilder struct {
}

func (*QuietBuilder) New

func (b *QuietBuilder) New(msg string) progress.Progress

type Spinner

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

func NewSpinner

func NewSpinner(text string) *Spinner

func (*Spinner) Fail

func (s *Spinner) Fail(err error) error

func (*Spinner) Infof

func (s *Spinner) Infof(format string, v ...any)

func (*Spinner) Success

func (s *Spinner) Success()

func (*Spinner) SuccessWithWarning

func (s *Spinner) SuccessWithWarning(format string, v ...any)

Jump to

Keyboard shortcuts

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