mirror of
https://github.com/romdo/go-conver.git
synced 2026-02-19 08:16:40 +00:00
wip: start of commit package
This commit is contained in:
16
pkg/commit/commit.go
Normal file
16
pkg/commit/commit.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user