blob: 20c332a6494ffb88fb146215af3dbcb0f217e841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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)
# 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.
|