(fmt string, parts ...interface{})
| 153 | var errorColor = color.New(color.FgRed, color.Bold) |
| 154 | |
| 155 | func errorf(fmt string, parts ...interface{}) { |
| 156 | if !strings.HasSuffix(fmt, "\n") { |
| 157 | fmt += "\n" |
| 158 | } |
| 159 | errorColor.Printf(fmt, parts...) |
| 160 | } |
| 161 | |
| 162 | func Main() error { |
| 163 | ctx := context.Background() |
no outgoing calls
no test coverage detected