mirror of
https://github.com/romdo/go-conver.git
synced 2026-02-19 08:16:40 +00:00
wip: update exposed structs in preparation for whole commit parsing
This commit is contained in:
@@ -3,16 +3,22 @@
|
|||||||
package commit
|
package commit
|
||||||
|
|
||||||
type Commit struct {
|
type Commit struct {
|
||||||
Type string
|
Type string
|
||||||
Scope string
|
Scope string
|
||||||
Subject string
|
Subject string
|
||||||
Body string
|
Body string
|
||||||
Footers []*Footer
|
Footers []*Footer
|
||||||
IsBreaking bool
|
References []*Reference
|
||||||
|
BreakingChanges []string
|
||||||
|
IsBreaking bool
|
||||||
}
|
}
|
||||||
|
|
||||||
type Footer struct {
|
type Footer struct {
|
||||||
Name string
|
Name string
|
||||||
Body string
|
Value string
|
||||||
Reference bool
|
}
|
||||||
|
|
||||||
|
type Reference struct {
|
||||||
|
Name string
|
||||||
|
Value string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user