(msg lint.Commit)
| 193 | } |
| 194 | |
| 195 | func (r *DescriptionMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) { |
| 196 | return validateMinLen("description", r.CheckLen, msg.Description()) |
| 197 | } |
| 198 | |
| 199 | // DescriptionMaxLenRule to validate max length of description |
| 200 | type DescriptionMaxLenRule struct{ CheckLen int } |