heatxsink / go-colour

Make your terminal output colour-ized. :-)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-colour

Make your terminal output colour-ized. :-)

Usage

Please take a look at the tests! Below is a quick example of how you could use the colour package.

import (
	"fmt"
	"github.com/heatxsink/go-colour"
)

func main() {
	fmt.Println(colour.Colourize("Hello World!", colour.Underscore + colour.Blink + colour.FgBlack + colour.BgYellow))
}

About

Make your terminal output colour-ized. :-)

License:MIT License


Languages

Language:Go 100.0%