spinner

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 3 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
}

func NewSpinner

func NewSpinner(config ...SpinnerConfig) *Spinner

func (Spinner) Start

func (s Spinner) Start()

func (Spinner) Stop

func (s Spinner) Stop()

type SpinnerConfig

type SpinnerConfig struct {
	Color       *string
	Duration    *int
	SpinnerType *int
}

Jump to

Keyboard shortcuts

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