(msg lint.Commit)
| 65 | } |
| 66 | |
| 67 | func (r *BodyMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 68 | return validateMinLen("body", r.CheckLen, msg.Body()) |
| 69 | } |
| 70 | |
| 71 | // BodyMaxLenRule to validate max length of body |
| 72 | type BodyMaxLenRule struct{ CheckLen int } |