More colors.
This commit is contained in:
parent
4dc8e924e0
commit
ae5736f21b
1 changed files with 8 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue