/usr/share/doc/golang-github-daviddengcn-go-colortext-dev/README.md is in golang-github-daviddengcn-go-colortext-dev 0.0~git20150719.0.3b18c85-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | go-colortext package [](http://go-search.org/view?id=github.com%2Fdaviddengcn%2Fgo-colortext)
====================
This is a package to change the color of the text and background in the console, working both under Windows and other systems.
Under Windows, the console APIs are used. Otherwise, ANSI texts are output.
Docs: http://godoc.org/github.com/daviddengcn/go-colortext ([packages that import ct](http://go-search.org/view?id=github.com%2fdaviddengcn%2fgo-colortext))
Usage:
```go
Foreground(Green, false)
fmt.Println("Green text starts here...")
ChangeColor(Red, true, White, false)
fmt.Println(...)
ResetColor()
```
LICENSE
=======
BSD license
|