(format string, a ...interface{})
| 98 | } |
| 99 | |
| 100 | func printf(format string, a ...interface{}) (n int, err error) { |
| 101 | return fmt.Fprintf(color.Output, format, a...) |
| 102 | } |
| 103 | |
| 104 | func grayscale(code color.Attribute) func(string, ...interface{}) string { |
| 105 | return color.New(code + 232).SprintfFunc() |