An ANSI colour terminal package for Go

Merge remote-tracking branch 'origin/master'

Conflicts:
.travis.yml

Changed files
+19 -5
+4 -4
.travis.yml
···
language: go
go:
-
-tip
before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
-
- go test -v -coverprofile=colourize.coverprofile ./colourize
-
- $HOME/gopath/bin/gover
-
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci
···
language: go
go:
+
-tip
before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
+
- go test -v -coverprofile=colourize.coverprofile ./colourize
+
- $HOME/gopath/bin/gover
+
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci
+15 -1
README.md
···
# colourize
An ANSI colour terminal package for Go
-
[![GoDoc](https://godoc.org/github.com/TreyBastian/colourize?status.svg)](https://godoc.org/github.com/TreyBastian/colourize)
···
# colourize
An ANSI colour terminal package for Go
+
[![GoDoc](https://godoc.org/github.com/TreyBastian/colourize?status.svg)](https://godoc.org/github.com/TreyBastian/colourize) [![Build Status](https://travis-ci.org/TreyBastian/colourize.svg?branch=master)](https://travis-ci.org/TreyBastian/colourize) [![Coverage Status](https://coveralls.io/repos/TreyBastian/colourize/badge.svg)](https://coveralls.io/r/TreyBastian/colourize)
+
+
# Usage
+
+
package main
+
import (
+
c "github.com/TreyBastian/colourize"
+
"fmt"
+
)
+
+
func main() {
+
fmt.Println(colourize("Hello World!", Green, Whitebg, Bold)
+
}
+
+
Supports all ANSI colours and emphasis. Not compatible with Windows systems.