utils

package
v0.0.0-...-5065355 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorRed           = "\u001b[31m"
	ColorGreen         = "\u001b[32m"
	ColorYellow        = "\u001b[33m"
	ColorBlue          = "\u001b[34m"
	ColorMagenta       = "\u001b[35m"
	ColorCyan          = "\u001b[36m"
	ColorWhite         = "\u001b[37m"
	ColorBrightRed     = "\u001b[31;1m"
	ColorBrightGreen   = "\u001b[32;1m"
	ColorBrightYellow  = "\u001b[33;1m"
	ColorBrightBlue    = "\u001b[34;1m"
	ColorBrightMagenta = "\u001b[35;1m"
	ColorBrightCyan    = "\u001b[36;1m"
	ColorBrightWhite   = "\u001b[37;1m"

	ColorBackgroundBlack = "\u001b[40m"
	ColorReset           = "\u001b[0m"
)

Variables

This section is empty.

Functions

func GetRandomANSIColor

func GetRandomANSIColor() string

func WriteRenders

func WriteRenders(workdir string, renders []*renderers.Renderer, overwrite, ejecting bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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