- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FgWhite (0.47 sec)
-
internal/color/color.go
if IsTerminal() { return color.New(color.BgRed).SprintfFunc() } return fmt.Sprintf }() FgWhite = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgWhite).SprintfFunc() } return fmt.Sprintf }() TurnOff = func() { color.NoColor = true } TurnOn = func() { color.NoColor = false
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 3.8K bytes - Viewed (0) -
internal/logger/console.go
ExitFunc(1) } func (f fatalMsg) quiet(msg string, args ...interface{}) { f.pretty(msg, args...) } var ( logTag = "ERROR" logBanner = color.BgRed(color.FgWhite(color.Bold(logTag))) + " " emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " " bannerWidth = len(logTag) + 1 ) func (f fatalMsg) pretty(msg string, args ...interface{}) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 5.8K bytes - Viewed (0)