add seeder demo

This commit is contained in:
yanghao05
2023-01-29 18:26:30 +08:00
parent f173d851c2
commit 550a5f94a2
3 changed files with 9 additions and 15 deletions

View File

@@ -4,7 +4,5 @@ import "gorm.io/gorm"
// Migration route interface
type Seeder interface {
Times() uint
Table() string
Run(*gorm.DB)
}