textcolor

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TextBlack = iota + 30
	TextRed
	TextGreen
	TextYellow
	TextBlue
	TextMagenta
	TextCyan
	TextWhite
)

颜色定义

Variables

This section is empty.

Functions

func Black

func Black(msg string) string

Black 黑色

func Blue

func Blue(msg string) string

Blue 蓝色

func Cyan

func Cyan(msg string) string

Cyan 青蓝色

func Green

func Green(msg string) string

Green 绿色

func Magenta

func Magenta(msg string) string

Magenta 紫红色

func Red

func Red(msg string) string

Red 红色

func String

func String(msg string, conf, bg, text int) string

String 自定义文件

func White

func White(msg string) string

White 白色

func Yellow

func Yellow(msg string) string

Yellow 黄色

Types

This section is empty.

Jump to

Keyboard shortcuts

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