mirror of
https://github.com/miguelmota/cointop
synced 2024-11-18 15:25:31 +00:00
510d761b51
Former-commit-id: c7c0dfa41e55f2bbc020b830e5fda31202f21665 [formerly c7c0dfa41e55f2bbc020b830e5fda31202f21665 [formerly 2987cbea49d6579ccc1a23836b3ca62663fdc1ad [formerly fa2061f891dcad0ef00007704c63b0e91a22cfb1]]] Former-commit-id: 164a2951369f4098ed14734724a3b5fa97eca15c Former-commit-id: b7b71b512703f138c33a8cfefefab71980d2e53d [formerly 0da5ddf5bfd603938a926448a8659af0090f88fc] Former-commit-id: e6d54f8ac9f30141a01017d09d73c038f5ad94f6
29 lines
795 B
Go
29 lines
795 B
Go
package color
|
|
|
|
import "github.com/fatih/color"
|
|
|
|
var (
|
|
// Black color
|
|
Black = color.New(color.FgBlack).SprintFunc()
|
|
// White color
|
|
White = color.New(color.FgWhite).SprintFunc()
|
|
// WhiteBold bold
|
|
WhiteBold = color.New(color.FgWhite, color.Bold).SprintFunc()
|
|
// Yellow color
|
|
Yellow = color.New(color.FgYellow).SprintFunc()
|
|
// Green color
|
|
Green = color.New(color.FgGreen).SprintFunc()
|
|
// GreenBg color
|
|
GreenBg = color.New(color.BgGreen, color.FgBlack).SprintFunc()
|
|
// Red color
|
|
Red = color.New(color.FgRed).SprintFunc()
|
|
// Cyan color
|
|
Cyan = color.New(color.FgCyan).SprintFunc()
|
|
// CyanBg color
|
|
CyanBg = color.New(color.BgCyan, color.FgBlack).SprintFunc()
|
|
// Blue color
|
|
Blue = color.New(color.FgBlue).SprintFunc()
|
|
// BlueBg color
|
|
BlueBg = color.New(color.BgBlue).SprintFunc()
|
|
)
|