diff options
Diffstat (limited to 'colourize.go')
| -rw-r--r-- | colourize.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/colourize.go b/colourize.go index 20470f4..fd25bbf 100644 --- a/colourize.go +++ b/colourize.go @@ -42,7 +42,7 @@ const ( Strikeout = 9 ) -/* Colourize is the function that provides colours for values passed to it. +/*Colourize is the function that provides colours for values passed to it. package main import( @@ -54,7 +54,6 @@ func main() { fmt.Println(c.Colourize("Hello", c.Cyan)) } */ - func Colourize(s interface{}, style ...int) string { b := new(bytes.Buffer) b.WriteString("\x1b[") |
