1. 首页
  2. 数据库
  3. 其它
  4. ansi:小型快速的库用于创建ANSI彩色的字符串和代码。 [去golang] 源码

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

上传者: 2021-02-06 16:58:16上传 ZIP文件 7.19KB 热度 13次
安西 软件包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"
下载地址
用户评论