全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: golang-github-ttacon-chalk  ]

套件:golang-github-ttacon-chalk-dev(0.1-2)

golang-github-ttacon-chalk-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 golang-github-ttacon-chalk

維護小組:

外部的資源:

相似套件:

Go library for prettifying terminal/console output

Chalk is a go package for styling console/terminal output.

Check out godoc for some example usage: http://godoc.org/github.com/ttacon/chalk

The api is pretty clean, there are default Colors and TextStyles which can be mixed to create more intense Styles. Styles and Colors can be printed in normal strings (i.e. fmt.Sprintf(chalk.Red)), but Styles, Colors and TextStyles are more meant to be used to style specific text segments (i.e. fmt.Println(chalk.Red.Color("this is red")) or fmt.Println(myStyle.Style("this is blue text that is underlined"))).

This package contains the source.

下載 golang-github-ttacon-chalk-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 73。8 kB103。0 kB [檔案列表]