ansi:小型,快速的库,用于创建ANSI彩色的字符串和代码。 [去,golang]

时间:2021-02-06 12:27:08
【文件属性】:
文件名称:ansi:小型,快速的库,用于创建ANSI彩色的字符串和代码。 [去,golang]
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-06 12:27:08
go terminal ansi-colors TerminalGo 安西 软件包ansi是一个小型快速库,用于创建ANSI彩色字符串和代码。 安装 得到它 go get -u github.com/mgutz/ansi 例 import "github.com/mgutz/ansi" // colorize a string, SLOW msg := ansi . Color ( "foo" , "red+b:white" ) // create a FAST closure function to avoid computation of ANSI code phosphorize := ansi . ColorFunc ( "green+h:black"
【文件预览】:
ansi-master
----ansi.go(5KB)
----cmd()
--------ansi-mgutz()
----ansi_test.go(1KB)
----doc.go(1KB)
----LICENSE(1KB)
----.gitignore(7B)
----README.md(2KB)
----print.go(1KB)

网友评论