Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TypesRegex = regexp.MustCompile(`^(feat|fix|build|chore|ci|docs|perf|refactor|revert|style|test)$`) HeaderRegex = regexp.MustCompile(`^(?P<type>\w+)(\((?P<scope>[\w/.-]+)\))?(?P<breaking>!)?:( +)?(?P<header>.+)`) )
View Source
var Types = map[string]string{
"feat": "Features",
"fix": "Bug Fixes",
"build": "",
"chore": "",
"ci": "",
"docs": "",
"perf": "",
"refactor": "",
"revert": "",
"style": "",
"test": "",
}
Functions ¶
This section is empty.
Types ¶
type CommitMsg ¶
func ParseCommitMsg ¶
func (CommitMsg) MarshalText ¶
func (*CommitMsg) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.