From 8e233bc0a449e4e24947afe8257db7446a3336ee Mon Sep 17 00:00:00 2001 From: Giancarlos Isasi Date: Sat, 9 Jan 2021 20:47:42 -0500 Subject: [PATCH] Improve function description --- gorainbow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gorainbow.go b/gorainbow.go index 43dcc9a..c525d89 100644 --- a/gorainbow.go +++ b/gorainbow.go @@ -14,7 +14,7 @@ func rgb(i int) (int, int, int) { int(math.Sin(f*float64(i)+4*math.Pi/3)*127 + 128) } -// Rainbow function returns a formated string ready to print it to the shell/terminal +// Rainbow function returns a formated colorized string ready to print it to the shell/terminal func Rainbow(text string) string { var rainbowStr []string for index, value := range text {