prompt

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(colorName ColorName, msg string, args ...interface{})

func Err

func Err(msg string, args ...interface{})

func Info

func Info(msg string, args ...interface{})

func NewLine

func NewLine(s string) string

func NewLineWithTab

func NewLineWithTab(s string) string

func OK

func OK(msg string, args ...interface{})

func Warn

func Warn(msg string, args ...interface{})

Types

type ColorName

type ColorName string
const (
	ColorGreen  ColorName = "green"
	ColorYellow ColorName = "yellow"
	ColorRed    ColorName = "red"
	ColorWhite  ColorName = "white"
)

Jump to

Keyboard shortcuts

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