(s string)
| 55 | } |
| 56 | |
| 57 | func Red(s string) string { |
| 58 | if !IsColorEnabled { |
| 59 | return s |
| 60 | } |
| 61 | return red(s) |
| 62 | } |
| 63 | |
| 64 | func Redf(s string, args ...interface{}) string { |
| 65 | return Red(fmt.Sprintf(s, args...)) |
no outgoing calls
no test coverage detected