mirror of
https://github.com/romdo/go-conver.git
synced 2026-02-19 08:16:40 +00:00
19 lines
327 B
Go
19 lines
327 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
|
|
IsBreaking bool
|
|
}
|
|
|
|
type Footer struct {
|
|
Name string
|
|
Body string
|
|
Reference bool
|
|
}
|