Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package xcolor 渲染终端文本颜色背景色和显示样式 xcolor.New("text").Fg(xcolor.FgGreen).Render()
|
Package xcolor 渲染终端文本颜色背景色和显示样式 xcolor.New("text").Fg(xcolor.FgGreen).Render() |
|
example
command
|
|
|
Package xloading 终端加载渲染 l := xloading.New("message success").Start() time.Sleep(2 * time.Second) l.Success()
|
Package xloading 终端加载渲染 l := xloading.New("message success").Start() time.Sleep(2 * time.Second) l.Success() |
|
example
command
|
|
|
Package xtable 终端表格渲染 list := [][]int{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}} xtable.New(list).Render()
|
Package xtable 终端表格渲染 list := [][]int{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}} xtable.New(list).Render() |
|
example
command
|
Click to show internal directories.
Click to hide internal directories.