Merge pull request #37 from Dot-Liu/main

修复_commit表和_latest表初始化失败的问题
This commit is contained in:
Dot.L
2024-09-06 10:37:04 +08:00
committed by GitHub
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -47,5 +47,4 @@ func init() {
commit.InitCommitWithKeyService[Proxy]("api", string(HistoryProxy))
commit.InitCommitWithKeyService[Request]("api", string(HistoryRequest))
}
+1
View File
@@ -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",
},