mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
@@ -47,5 +47,4 @@ func init() {
|
||||
|
||||
commit.InitCommitWithKeyService[Proxy]("api", string(HistoryProxy))
|
||||
commit.InitCommitWithKeyService[Request]("api", string(HistoryRequest))
|
||||
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ type StoreWidthType[H any] struct {
|
||||
func NewCommitWithKey[H any](name, key string) *StoreWidthType[H] {
|
||||
return &StoreWidthType[H]{
|
||||
Store: Store[H]{
|
||||
name: name,
|
||||
latestTableName: name + "_latest",
|
||||
commitTableName: name + "_commit",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user