spinner

package
v0.0.0-...-40147a1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package spinner creates a spinner

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spin

type Spin struct {
	Message string
	// contains filtered or unexported fields
}

Spin settings

func New

func New() *Spin

New returns the spin instance

func (*Spin) Set

func (me *Spin) Set(message string)

Set defines the message on the Spin instance

func (*Spin) Start

func (me *Spin) Start()

Start the spinner

func (*Spin) Stop

func (me *Spin) Stop()

Stop the spinner

Jump to

Keyboard shortcuts

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