spinner

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spinner

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

Spinner wraps the briandowns/spinner for use in gw

func New

func New(message string, w io.Writer) *Spinner

New creates a new spinner with a message

func (*Spinner) Start

func (sp *Spinner) Start()

Start begins the spinner animation

func (*Spinner) Stop

func (sp *Spinner) Stop()

Stop ends the spinner animation

func (*Spinner) UpdateMessage

func (sp *Spinner) UpdateMessage(message string)

UpdateMessage changes the spinner message while running

Jump to

Keyboard shortcuts

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