- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BgRed (0.14 sec)
-
internal/color/color.go
FgRed = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed).SprintFunc() } return fmt.Sprint }() BgRed = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.BgRed).SprintfFunc() } return fmt.Sprintf }() FgWhite = func() func(format string, a ...interface{}) string { if IsTerminal() {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Dec 13 16:27:40 GMT 2022 - 3.7K 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{}) { // Build the passed error message
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 02 00:13:57 GMT 2024 - 5.7K bytes - Viewed (0)