term

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(v ...any)

func Cmdf

func Cmdf(format string, v ...any)

func Error

func Error(v ...any)

func Errorf

func Errorf(format string, v ...any)

func Fatal

func Fatal(v ...any)

func Fatalf

func Fatalf(format string, v ...any)

func Info

func Info(v ...any)

func Infof

func Infof(format string, v ...any)

func Okay

func Okay(v ...any)

func Okayf

func Okayf(format string, v ...any)

func Serrorf

func Serrorf(format string, v ...any) string

func Sokayf

func Sokayf(format string, v ...any) string

Types

type Style

type Style string
const (
	Bold       Style = "bold"
	Gray       Style = "dim"
	Black      Style = "black"
	Red        Style = "red"
	Green      Style = "green"
	Yellow     Style = "yellow"
	Blue       Style = "blue"
	DarkYellow Style = "dark-yellow"
	BgWhite    Style = "bg-white"
	BgBlue     Style = "bg-blue"
)

func (Style) String

func (s Style) String(str string) string

Jump to

Keyboard shortcuts

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