2018-07-17 21:23:14 +03:00
|
|
|
package util
|
|
|
|
|
|
|
|
import "github.com/fatih/color"
|
|
|
|
|
|
|
|
var (
|
2018-08-09 15:45:02 +03:00
|
|
|
Bold = color.New(color.Bold).SprintFunc()
|
2018-07-17 21:23:14 +03:00
|
|
|
Black = color.New(color.FgBlack).SprintFunc()
|
|
|
|
BlackBg = color.New(color.BgBlack, color.FgWhite).SprintFunc()
|
|
|
|
White = color.New(color.FgWhite).SprintFunc()
|
|
|
|
WhiteBold = color.New(color.FgWhite, color.Bold).SprintFunc()
|
|
|
|
Yellow = color.New(color.FgYellow).SprintFunc()
|
|
|
|
YellowBold = color.New(color.FgYellow, color.Bold).SprintFunc()
|
|
|
|
YellowBg = color.New(color.BgYellow, color.FgBlack).SprintFunc()
|
|
|
|
Green = color.New(color.FgGreen).SprintFunc()
|
|
|
|
GreenBg = color.New(color.BgGreen, color.FgBlack).SprintFunc()
|
|
|
|
Red = color.New(color.FgRed).SprintFunc()
|
|
|
|
Cyan = color.New(color.FgCyan).SprintFunc()
|
|
|
|
CyanBg = color.New(color.BgCyan, color.FgBlack).SprintFunc()
|
|
|
|
Blue = color.New(color.FgBlue).SprintFunc()
|
|
|
|
BlueBg = color.New(color.BgBlue).SprintFunc()
|
|
|
|
Magenta = color.New(color.FgMagenta).SprintFunc()
|
|
|
|
)
|