chore: rename store to db

This commit is contained in:
Noah Hsu
2022-06-25 21:36:35 +08:00
parent c5295f4d72
commit b474eefd87
12 changed files with 22 additions and 23 deletions

View File

@ -6,7 +6,6 @@ import (
conf2 "github.com/alist-org/alist/v3/internal/conf"
"github.com/alist-org/alist/v3/internal/model"
"github.com/alist-org/alist/v3/internal/operations"
"github.com/alist-org/alist/v3/internal/store"
"github.com/alist-org/alist/v3/pkg/task"
"gorm.io/driver/sqlite"
"gorm.io/gorm"
@ -26,7 +25,7 @@ func init() {
if err != nil {
panic("failed to connect database")
}
store.Init(db)
db.Init(db)
}
func TestConnect(t *testing.T) {