generated from kedaya_haitao/template
This commit is contained in:
parent
798118c6e4
commit
dd892dde81
@ -32,6 +32,7 @@ func main() {
|
|||||||
r.Use(cors.New(), recover.New())
|
r.Use(cors.New(), recover.New())
|
||||||
|
|
||||||
stg := storage.NewStorage(db)
|
stg := storage.NewStorage(db)
|
||||||
|
_ = stg.Article().AutoMigrate()
|
||||||
|
|
||||||
svc := []web.Register{
|
svc := []web.Register{
|
||||||
web.NewProbe(),
|
web.NewProbe(),
|
||||||
|
Loading…
Reference in New Issue
Block a user