(pattern string, args ...interface{})
| 268 | } |
| 269 | |
| 270 | func exitFailure(pattern string, args ...interface{}) { |
| 271 | if !strings.HasSuffix(pattern, "\n") { |
| 272 | pattern = pattern + "\n" |
| 273 | } |
| 274 | panic(fmt.Sprintf(pattern, args...)) |
| 275 | } |
| 276 | |
| 277 | func (hl *handlerLoader) setupHandler(prefix string) { |
| 278 | h, ok := hl.config[prefix] |
no outgoing calls
no test coverage detected