Color 是用 Go 语言编写的 ANSI Escape Codes 术语,你可以自定义屏幕的输出颜色。
![Color](https://camo.githubusercontent.com/3cef9169d42dd94bd7299782d691396027d688a4/687474703a2f2f692e696d6775722e636f6d2f63314a49306c412e706e67)
标准颜色:
<pre class="brush:js;toolbar: true; auto-links: false;">// Print with default helper functions
color.Cyan("Prints text in cyan.")
// A newline will be appended automatically
color.Blue("Prints %s in blue.", "text")
// These are using the default foreground colors
color.Red("We have red")
color.Magenta("And many others ..")</pre>