(msg lint.Commit)
| 103 | } |
| 104 | |
| 105 | func (r *FooterMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 106 | return validateMinLen("footer", r.CheckLen, msg.Footer()) |
| 107 | } |
| 108 | |
| 109 | // FooterMaxLenRule to validate max length of footer |
| 110 | type FooterMaxLenRule struct{ CheckLen int } |