Browse Source

More colors.

Blallo 5 years ago
parent
commit
ae5736f21b
1 changed files with 8 additions and 0 deletions
  1. 8 0
      sizer/logger.go

+ 8 - 0
sizer/logger.go

@@ -75,3 +75,11 @@ var Green = color.New(color.FgGreen).SprintFunc()
 // Cyan is a function that, given a string, returns the string
 // in ANSI cyan foreground color.
 var Cyan = color.New(color.FgCyan).SprintFunc()
+
+// Yellow is a function that, given a string, returns the string
+// in ANSI yellow foreground color.
+var Yellow = color.New(color.FgYellow).SprintFunc()
+
+// Gray is a function that, given a string, returns the string
+// in ANSI gray foreground color.
+var Gray = color.New(color.FgHiBlack).SprintFunc()