logging

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(format string, a ...any)

func FinishSpinner

func FinishSpinner(spnr *spinner.Spinner, finalMsg string)

func FinishSpinnerWithError

func FinishSpinnerWithError(spnr *spinner.Spinner, err error)
func Header(text string, s HeaderSize)

func Msg

func Msg(format string, args ...any)

func StartSpinner

func StartSpinner(msg string) *spinner.Spinner

Types

type HeaderSize

type HeaderSize = uint8
const (
	H1 HeaderSize = iota
	H2
	H3
)

Jump to

Keyboard shortcuts

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