console

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset       = iota
	Red         //红
	RedBold     //红粗
	Green       //绿
	GreenBold   //绿粗
	Yellow      //黄
	YellowBold  //黄粗
	Blue        //蓝
	BlueBold    //蓝粗
	Magenta     //紫
	MagentaBold //紫粗
	Cyan        //深绿
	CyanBold    //深绿粗
	White       //白
	WhiteBold   //白粗
)

Variables

This section is empty.

Functions

func Draw

func Draw(color int, s string) string

func Drawf

func Drawf(color int, s string, args ...interface{}) string

func Drawln added in v1.2.1

func Drawln(color int, s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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