wip: start of commit package

This commit is contained in:
2020-10-31 15:34:40 +00:00
parent 69056295b9
commit 5b086530ee
3 changed files with 154 additions and 0 deletions

16
pkg/commit/commit.go Normal file
View File

@@ -0,0 +1,16 @@
// Package commit allows parsing commit messages that follow the conventional
// commits format.
package commit
type Commit struct {
Type string
Scope string
Description string
Body string
Footers []Footer
}
type Footer struct {
Name string
Body string
}