color

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package color provides basic terminal color output via ANSI Escape Codes https://misc.flogisoft.com/bash/tip_colors_and_formatting

Index

Constants

View Source
const (

	// None will reset colors
	None = 0
)

Variables

This section is empty.

Functions

func Blue

func Blue(format string, a ...interface{}) string

Blue colors the string blue

func BlueB

func BlueB(format string, a ...interface{}) string

BlueB colors the string blue and bolds it

func BlueBL

func BlueBL(format string, a ...interface{}) string

BlueBL colors the string light blue and bolds it

func BlueBLU

func BlueBLU(format string, a ...interface{}) string

BlueBLU colors the string light blue and bolds and underlines it

func BlueBU

func BlueBU(format string, a ...interface{}) string

BlueBU colors the string blue and bolds and underlines it

func BlueL

func BlueL(format string, a ...interface{}) string

BlueL colors the string light blue

func BlueLU

func BlueLU(format string, a ...interface{}) string

BlueLU colors the string light blue and underlines it

func BlueU

func BlueU(format string, a ...interface{}) string

BlueU colors the string blue and underlines it

func Cyan

func Cyan(format string, a ...interface{}) string

Cyan colors the string cyan

func CyanB

func CyanB(format string, a ...interface{}) string

CyanB colors the string cyan and bolds it

func CyanBL

func CyanBL(format string, a ...interface{}) string

CyanBL colors the string light cyan and bolds it

func CyanBLU

func CyanBLU(format string, a ...interface{}) string

CyanBLU colors the string light cyan and bolds and underlines it

func CyanBU

func CyanBU(format string, a ...interface{}) string

CyanBU colors the string cyan and bolds and underlines it

func CyanL

func CyanL(format string, a ...interface{}) string

CyanL colors the string light cyan

func CyanLU

func CyanLU(format string, a ...interface{}) string

CyanLU colors the string light cyan and underlines it

func CyanU

func CyanU(format string, a ...interface{}) string

CyanU colors the string cyan and underlines it

func Fuscia

func Fuscia(format string, a ...interface{}) string

Fuscia colors the string fuscia

func FusciaB

func FusciaB(format string, a ...interface{}) string

FusciaB colors the string fuscia and bolds it

func FusciaBL

func FusciaBL(format string, a ...interface{}) string

FusciaBL colors the string light fuscia and bolds it

func FusciaBLU

func FusciaBLU(format string, a ...interface{}) string

FusciaBLU colors the string light fuscia and bolds and underlines it

func FusciaBU

func FusciaBU(format string, a ...interface{}) string

FusciaBU colors the string fuscia and bolds and underlines it

func FusciaL

func FusciaL(format string, a ...interface{}) string

FusciaL colors the string light fuscia

func FusciaLU

func FusciaLU(format string, a ...interface{}) string

FusciaLU colors the string light fuscia and underlines it

func FusciaU

func FusciaU(format string, a ...interface{}) string

FusciaU colors the string fuscia and underlines it

func Gray

func Gray(format string, a ...interface{}) string

Gray colors the string gray

func GrayB

func GrayB(format string, a ...interface{}) string

GrayB colors the string gray and bolds it

func GrayBL

func GrayBL(format string, a ...interface{}) string

GrayBL colors the string light gray and bolds it

func GrayBLU

func GrayBLU(format string, a ...interface{}) string

GrayBLU colors the string light gray and bolds and underlines it

func GrayBU

func GrayBU(format string, a ...interface{}) string

GrayBU colors the string gray and bolds and underlines it

func GrayL

func GrayL(format string, a ...interface{}) string

GrayL colors the string light gray

func GrayLU

func GrayLU(format string, a ...interface{}) string

GrayLU colors the string light gray and underlines it

func GrayU

func GrayU(format string, a ...interface{}) string

GrayU colors the string gray and underlines it

func Green

func Green(format string, a ...interface{}) string

Green colors the string green

func GreenB

func GreenB(format string, a ...interface{}) string

GreenB colors the string green and bolds it

func GreenBL

func GreenBL(format string, a ...interface{}) string

GreenBL colors the string light green and bolds it

func GreenBLU

func GreenBLU(format string, a ...interface{}) string

GreenBLU colors the string light green and bolds and underlines it

func GreenBU

func GreenBU(format string, a ...interface{}) string

GreenBU colors the string green and bolds and underlines it

func GreenL

func GreenL(format string, a ...interface{}) string

GreenL colors the string light green

func GreenLU

func GreenLU(format string, a ...interface{}) string

GreenLU colors the string light green and underlines it

func GreenU

func GreenU(format string, a ...interface{}) string

GreenU colors the string green and underlines it

func Magenta

func Magenta(format string, a ...interface{}) string

Magenta colors the string magenta

func MagentaB

func MagentaB(format string, a ...interface{}) string

MagentaB colors the string magenta and bolds it

func MagentaBL

func MagentaBL(format string, a ...interface{}) string

MagentaBL colors the string light magenta and bolds it

func MagentaBLU

func MagentaBLU(format string, a ...interface{}) string

MagentaBLU colors the string light magenta and bolds and underlines it

func MagentaBU

func MagentaBU(format string, a ...interface{}) string

MagentaBU colors the string magenta and bolds and underlines it

func MagentaL

func MagentaL(format string, a ...interface{}) string

MagentaL colors the string light magenta

func MagentaLU

func MagentaLU(format string, a ...interface{}) string

MagentaLU colors the string light magenta and underlines it

func MagentaU

func MagentaU(format string, a ...interface{}) string

MagentaU colors the string magenta and underlines it

func Orange

func Orange(format string, a ...interface{}) string

Orange colors the string orange

func OrangeB

func OrangeB(format string, a ...interface{}) string

OrangeB colors the string orange and bolds it

func OrangeBL

func OrangeBL(format string, a ...interface{}) string

OrangeBL colors the string light orange and bolds it

func OrangeBLU

func OrangeBLU(format string, a ...interface{}) string

OrangeBLU colors the string light orange and bolds and underlines it

func OrangeBU

func OrangeBU(format string, a ...interface{}) string

OrangeBU colors the string orange and bolds and underlines it

func OrangeL

func OrangeL(format string, a ...interface{}) string

OrangeL colors the string light orange

func OrangeLU

func OrangeLU(format string, a ...interface{}) string

OrangeLU colors the string light orange and underlines it

func OrangeU

func OrangeU(format string, a ...interface{}) string

OrangeU colors the string orange and underlines it

func Red

func Red(format string, a ...interface{}) string

Red colors the string red

func RedB

func RedB(format string, a ...interface{}) string

RedB colors the string red and bolds it

func RedBL

func RedBL(format string, a ...interface{}) string

RedBL colors the string light red and bolds it

func RedBLU

func RedBLU(format string, a ...interface{}) string

RedBLU colors the string light red and bolds and underlines it

func RedBU

func RedBU(format string, a ...interface{}) string

RedBU colors the string red and bolds and underlines it

func RedL

func RedL(format string, a ...interface{}) string

RedL colors the string light red

func RedLU

func RedLU(format string, a ...interface{}) string

RedLU colors the string light red and underlines it

func RedU

func RedU(format string, a ...interface{}) string

RedU colors the string red and underlines it

func Yellow

func Yellow(format string, a ...interface{}) string

Yellow colors the string yellow

func YellowB

func YellowB(format string, a ...interface{}) string

YellowB colors the string yellow and bolds it

func YellowBL

func YellowBL(format string, a ...interface{}) string

YellowBL colors the string light yellow and bolds it

func YellowBLU

func YellowBLU(format string, a ...interface{}) string

YellowBLU colors the string light yellow and bolds and underlines it

func YellowBU

func YellowBU(format string, a ...interface{}) string

YellowBU colors the string yellow and bolds and underlines it

func YellowL

func YellowL(format string, a ...interface{}) string

YellowL colors the string light yellow

func YellowLU

func YellowLU(format string, a ...interface{}) string

YellowLU colors the string light yellow and underlines it

func YellowU

func YellowU(format string, a ...interface{}) string

YellowU colors the string yellow and underlines it

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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