Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllTypes ¶
func AllTypes() []string
AllTypes returns the list of valid conventional commit types.
func BuildRegexPatternWithEmoji ¶
BuildRegexPatternWithEmoji returns a precompiled regex that matches the Conventional Commit type with an optional emoji and scope.
func IsValidCommitType ¶
IsValidCommitType checks if the provided commit type is in the list of valid types.
func TypesRegexPattern ¶
func TypesRegexPattern() string
TypesRegexPattern returns a string that can be used to match valid commit types in a regex.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.