(msg string)
| 35 | } |
| 36 | |
| 37 | func (w *warning) addMessage(msg string) { |
| 38 | if w.messages == nil { |
| 39 | w.messages = make([]string, 0) |
| 40 | } |
| 41 | w.messages = append(w.messages, msg) |
| 42 | } |
| 43 | |
| 44 | func validateRules() error { |
| 45 | if err := bootstrap.InitConfigAndLogger(cfg); err != nil { |