Skip to content

Commit e3c91bc

Browse files
committed
Add Colorize for those who prefer it (for real this time)
1 parent 963c6e0 commit e3c91bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

color.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ var Gray = "\033[37m"
1111
var White = "\033[97m"
1212

1313
func Ize(color, message string) string {
14+
return Colorize(color, message)
15+
}
16+
17+
func Colorize(color, message string) string {
1418
return color + message + Reset
1519
}

0 commit comments

Comments
 (0)