Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bg ¶
type Bg int
Bg 背景色枚举 (Basic 40, Hi-Intensity 100)
type Color ¶
type Color interface {
Fg(Fg) Color // 设置前景色
Bg(Bg) Color // 设置背景色
Sty(Sty) Color // 设置样式
Text() string // 返回渲染后文本
Render() // 输出渲染后文本
}
Color ...
Click to show internal directories.
Click to hide internal directories.