blob: a11682000186351cbf7dad28056e97584313e028 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# colourize
An ANSI colour terminal package for Go
[](https://godoc.org/github.com/TreyBastian/colourize) [](https://travis-ci.org/TreyBastian/colourize) [](https://coveralls.io/r/TreyBastian/colourize?branch=master)
# Usage
package main
import (
c "github.com/TreyBastian/colourize"
"fmt"
)
func main() {
fmt.Println(colourize("Hello World!", Green, Whitebg, Bold)
}
Supports all ANSI colours and emphasis. Not compatible with Windows systems.
I'm not expecting anyone to actually use this package or even find it, but if you do end up using it drop me a line and let me know!
|