log

package
v0.0.0-...-a8ae660 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGroup

func NewGroup(sum int) *group

Newgroup creates a group

Types

type Msg

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

func Start

func Start(message string, sum ...int) *Msg

func (*Msg) Add

func (l *Msg) Add()

func (*Msg) Done

func (l *Msg) Done()

func (*Msg) Err

func (l *Msg) Err(err error)

func (*Msg) Error

func (l *Msg) Error(message string)

Error marks spinner as error and update message

func (*Msg) GetMessage

func (l *Msg) GetMessage() string

func (*Msg) IsGroup

func (l *Msg) IsGroup() bool

Error marks spinner as error and update message

func (*Msg) Message

func (l *Msg) Message(message string)

UpdateMessage updates the spinner message

func (*Msg) Success

func (l *Msg) Success(message string)

Success marks spinner as success and update message

func (*Msg) Time

func (l *Msg) Time() time.Time

Jump to

Keyboard shortcuts

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