blob: 7c0d947ffa49397cb91c11dec3c28d3b23c56b30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# colourize
[](https://godoc.org/github.com/TreyBastian/colourize) [](https://travis-ci.org/TreyBastian/colourize) [](https://coveralls.io/r/TreyBastian/colourize?branch=master) [](https://goreportcard.com/report/github.com/TreyBastian/colourize)
An ANSI colour terminal package for Go.
Supports all ANSI colours and emphasis. Not compatible with Windows systems.
# Project is no longer maintained.
This project is no longer maintained. However it's also complete. It has not and will not be updated with new Go features.
# Installation
go get github.com/TreyBastian/colourize
# Usage
package main
import (
c "github.com/TreyBastian/colourize"
"fmt"
)
func main() {
fmt.Println(c.Colourize("Hello World!", c.Green, c.Whitebg, c.Bold))
}
# Projects Using colourize
* [nettee](https://github.com/Manaphy91/nettee)
|