(msg lint.Commit)
| 77 | } |
| 78 | |
| 79 | func (r *BodyMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 80 | return validateMaxLen("body", r.CheckLen, msg.Body()) |
| 81 | } |
| 82 | |
| 83 | // BodyMaxLineLenRule to validate max line length of body |
| 84 | type BodyMaxLineLenRule struct{ CheckLen int } |