mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
feat: Add Next and Previous in Tag
This commit is contained in:
parent
cd9684604b
commit
d4d2a7ed80
3 changed files with 109 additions and 16 deletions
12
fields.go
12
fields.go
|
|
@ -78,12 +78,20 @@ type CommitGroup struct {
|
|||
Commits []*Commit
|
||||
}
|
||||
|
||||
// Tag ...
|
||||
type Tag struct {
|
||||
// RelateTag ...
|
||||
type RelateTag struct {
|
||||
Name string
|
||||
Date time.Time
|
||||
}
|
||||
|
||||
// Tag ...
|
||||
type Tag struct {
|
||||
Name string
|
||||
Date time.Time
|
||||
Next *RelateTag
|
||||
Previous *RelateTag
|
||||
}
|
||||
|
||||
// Version ...
|
||||
type Version struct {
|
||||
Tag *Tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue