Blallo il y a 5 ans
Parent
commit
ae5736f21b
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  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()