Skip to content

Commit

Permalink
Improve function description
Browse files Browse the repository at this point in the history
  • Loading branch information
GiancarlosIO committed Jan 10, 2021
1 parent 45e67f6 commit 8e233bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gorainbow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8e233bc

Please sign in to comment.