Documentation
¶
Overview ¶
Package regex provides a validator that checks if the commit message summary and description match specified regular expressions.
Index ¶
Constants ¶
View Source
const Name = "regex"
Name is the validators name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator using regular expressions.
func NewValidator ¶
NewValidator create a new regex validator.
Click to show internal directories.
Click to hide internal directories.