mirror of
https://github.com/romdo/go-conver.git
synced 2026-02-19 08:16:40 +00:00
25 lines
444 B
Go
25 lines
444 B
Go
// Package commit allows parsing commit messages that follow the conventional
|
|
// commits format.
|
|
package commit
|
|
|
|
type Commit struct {
|
|
Type string
|
|
Scope string
|
|
Subject string
|
|
Body string
|
|
Footers []*Footer
|
|
References []*Reference
|
|
BreakingChanges []string
|
|
IsBreaking bool
|
|
}
|
|
|
|
type Footer struct {
|
|
Name string
|
|
Value string
|
|
}
|
|
|
|
type Reference struct {
|
|
Name string
|
|
Value string
|
|
}
|