diff options
| author | Trey Bastian <trey.bastian@gmail.com> | 2015-05-11 18:52:10 +0100 |
|---|---|---|
| committer | Trey Bastian <trey.bastian@gmail.com> | 2015-05-11 18:52:10 +0100 |
| commit | c45221f1d64f4c3eebcda004b4e2cb8d6665d9b6 (patch) | |
| tree | 1b8c03680acb48b1af662d3f47cf7fb14effc8b5 | |
| parent | c59f0a7baa48f516203fa3c8a25d83fc26e04568 (diff) | |
Update README.md
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -2,3 +2,17 @@ An ANSI colour terminal package for Go [](https://godoc.org/github.com/TreyBastian/colourize) [](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. |
