软件包:golang-github-ttacon-chalk-dev(0.1-2)
golang-github-ttacon-chalk-dev 的相关链接
Debian 的资源:
下载源码包 golang-github-ttacon-chalk:
- [golang-github-ttacon-chalk_0.1-2.dsc]
- [golang-github-ttacon-chalk_0.1.orig.tar.gz]
- [golang-github-ttacon-chalk_0.1-2.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
- golang-github-bmatsuo-lmdb-go-dev
- golang-github-tidwall-pretty-dev
- python3-crayons
- golang-github-bep-tmc-dev
- python3-rich
- golang-github-kr-pretty-dev
- golang-github-howeyc-gopass-dev
- lua-ansicolors
- golang-github-ngaut-go-zookeeper-dev
- golang-github-apparentlymart-go-dump-dev
- golang-github-nebulouslabs-fastrand-dev
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.