util

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields map[string]interface{}

type Spinner

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

func StartInfoSpinner

func StartInfoSpinner(text string, isTerminal bool) *Spinner

func StartSpinner

func StartSpinner(level string, text string, isTerminal bool) *Spinner

func (*Spinner) Stop

func (s *Spinner) Stop()

func (*Spinner) Update

func (s *Spinner) Update(text string)

func (*Spinner) WithFields

func (s *Spinner) WithFields(fields map[string]interface{}) *Spinner

Jump to

Keyboard shortcuts

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