An ANSI colour terminal package for Go
Go 100.0%
20 1 0

Clone this repository

https://tangled.org/treybastian.com/colourize
git@knot.treybastian.com:treybastian.com/colourize

For self-hosted knots, clone URLs may differ based on your setup.

README.md

colourize#

GoDoc Build Status Coverage Status

An ANSI colour terminal package for Go. Supports all ANSI colours and emphasis. Not compatible with Windows systems.

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#

Nothing Yet, but if you use it let me know!