From c45221f1d64f4c3eebcda004b4e2cb8d6665d9b6 Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Mon, 11 May 2015 18:52:10 +0100 Subject: Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6ada433..5bd14bf 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,17 @@ 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) + +# 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. -- cgit v1.2.3