(code, s string, formatOpts ...string)
| 90 | } |
| 91 | |
| 92 | func ansiColor(code, s string, formatOpts ...string) string { |
| 93 | return fmt.Sprintf("%s%s%s", ansiColorCode(code, formatOpts...), s, ansiColorCode("0")) |
| 94 | } |
| 95 | |
| 96 | // Everything about ansiColorCode color https://hyperskill.org/learn/step/18193 |
| 97 | func ansiColorCode(code string, formatOpts ...string) string { |
no test coverage detected