aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
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.