fix issues

This commit is contained in:
yanghao05
2023-04-28 18:13:55 +08:00
parent ebcd25f776
commit e0e48fe83a
10 changed files with 192 additions and 161 deletions
+2
View File
@@ -8,3 +8,5 @@ type Migration interface {
Up(tx *gorm.DB) error
Down(tx *gorm.DB) error
}
type MigrationProvider func() Migration
+2
View File
@@ -9,3 +9,5 @@ import (
type Seeder interface {
Run(*gofakeit.Faker, *gorm.DB)
}
type SeederProvider func() Seeder