feat: add history helper
parent
ae12649984
commit
56fbea1b6b
|
@ -38,3 +38,7 @@ func (h *History) Iss(issuer string) *History {
|
|||
h.Issuer = issuer
|
||||
return h
|
||||
}
|
||||
func (h *History) Grp(grp string) *History {
|
||||
h.Group = grp
|
||||
return h
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ type History struct {
|
|||
Message string
|
||||
Body interface{} `gorm:"-"`
|
||||
Issuer string
|
||||
Group string
|
||||
|
||||
BodyJson string
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue