Documentation
¶
Overview ¶
Package commit provides conventional commit message parsing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
Hash string
Type string
Scope string
Description string
Body string
Breaking bool
Raw string
}
func FilterByTypes ¶
func Parse ¶
Parse parses a raw commit message into a Commit. If the message does not follow the conventional commit format, it returns a Commit with an empty Type.
func (Commit) IsConventional ¶
Click to show internal directories.
Click to hide internal directories.