check

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoodState = "[✔︎]"
	BadState  = "[⨯]"
	Bullet    = "•"
)

Variables

View Source
var (
	BoldWhite = lipgloss.NewStyle().Foreground(lipgloss.Color("7"))
	Bad       = lipgloss.NewStyle().Foreground(lipgloss.Color("9"))
	TraceBad  = lipgloss.NewStyle().Foreground(lipgloss.Color("9")).PaddingLeft(4)
	Warning   = lipgloss.NewStyle().Foreground(lipgloss.Color("11")).PaddingLeft(4)
	Good      = lipgloss.NewStyle().Foreground(lipgloss.Color("2"))
)

Functions

func Checker

func Checker(check string, err error)

Types

type Check

type Check struct {
	Result bool
	Error  error
}

Jump to

Keyboard shortcuts

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