aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTreyBastian <trey.bastian@gmail.com>2015-05-11 19:59:22 +0100
committerTreyBastian <trey.bastian@gmail.com>2015-05-11 19:59:22 +0100
commitd62b22d6d09a6e2512bb701421a0d17cd193ebad (patch)
tree4100d411de445a8e84a600b6df72243b59f19878 /README.md
parent67fd1dfc1117219862c4cc90a3d97ffbf71bb5c3 (diff)
parent2de721dec4cfc2c524c59866a368a843b6cc6c95 (diff)
Merge remote-tracking branch 'origin/master'
Conflicts: .travis.yml
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index 106a2e4..20c332a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,18 @@
# 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)
+[![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.