utils

package
v0.0.0-...-c440e75 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanProceed

func CanProceed() bool

func FatalLog

func FatalLog(err error)

func GetSpinner

func GetSpinner(type_ []string, time_ time.Duration, suffix string, end_text string) *spinner.Spinner

func ValidateFlags

func ValidateFlags(exampleFlag *string) error

Types

type Colors

type Colors struct{}

func (Colors) Blue

func (c Colors) Blue() string

func (Colors) Cyan

func (c Colors) Cyan() string

func (Colors) Green

func (c Colors) Green() string

func (Colors) Purple

func (c Colors) Purple() string

func (Colors) Red

func (c Colors) Red() string

func (Colors) Reset

func (c Colors) Reset() string

func (Colors) White

func (c Colors) White() string

func (Colors) Yellow

func (c Colors) Yellow() string

Jump to

Keyboard shortcuts

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