()
| 50 | } |
| 51 | |
| 52 | func (m Message) Error() string { |
| 53 | return fmt.Sprintf("[%s] %s: %s", sev[m.Severity], m.Path, m.Err.Error()) |
| 54 | } |
| 55 | |
| 56 | // NewMessage creates a new Message struct |
| 57 | func NewMessage(severity int, path string, err error) Message { |
no outgoing calls