aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Bastian <Trey@Treys-MBP.lan>2016-01-03 01:51:15 +0000
committerTrey Bastian <Trey@Treys-MBP.lan>2016-01-03 01:51:15 +0000
commit7da149d9aff97637a48d212794f21636d5159c16 (patch)
tree8a56172f1e09acc3e1aafba3a61c781521df7a13
parent11c9eb3f43312d0009dd4856a197c012608901b9 (diff)
Update for GoLint -- for some reason it doesn't like the spaces for comments like that
-rw-r--r--colourize.go3
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[")