/colourize

An ANSI colour terminal package for Go

Primary LanguageGoMIT LicenseMIT

colourize

GoDoc Build Status Coverage Status Go Report Card

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