Skip to content

Commit

Permalink
wip: update exposed structs in preparation for whole commit parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh committed Nov 1, 2020
1 parent ca0993b commit 277f7ea
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions pkg/commit/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
package commit

type Commit struct {
Type string
Scope string
Subject string
Body string
Footers []*Footer
IsBreaking bool
Type string
Scope string
Subject string
Body string
Footers []*Footer
References []*Reference
BreakingChanges []string
IsBreaking bool
}

type Footer struct {
Name string
Body string
Reference bool
Name string
Value string
}

type Reference struct {
Name string
Value string
}

0 comments on commit 277f7ea

Please sign in to comment.