An ANSI colour terminal package for Go. Supports all ANSI colours and emphasis. Not compatible with Windows systems.
This project is no longer maintained. However it's also complete. It has not and will not be updated with new Go features.
go get github.com/TreyBastian/colourize
package main
import (
c "github.com/TreyBastian/colourize"
"fmt"
)
func main() {
fmt.Println(c.Colourize("Hello World!", c.Green, c.Whitebg, c.Bold))
}