Files
go-conver/pkg/commit/commit.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
}