color

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: GPL-2.0 Imports: 1 Imported by: 13

Documentation

Index

Constants

View Source
const (
	RED    = "\033[31m"
	GREEN  = "\033[32m"
	YELLOW = "\033[33m"
	BLUE   = "\033[34m"
	PURPLE = "\033[35m"
	CYAN   = "\033[36m"
	WHITE  = "\033[97m"
)

Variables

This section is empty.

Functions

func Colorize

func Colorize(color Color, s string) string

func Print

func Print(color Color, s string)

func Printf

func Printf(color Color, format string, args ...interface{})

func Println

func Println(color Color, s string)

Types

type Color

type Color string

Jump to

Keyboard shortcuts

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