mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-26 14:45:55 +08:00
feat:实现自定义模板功能
This commit is contained in:
@@ -91,9 +91,11 @@ func RegisterModel() {
|
||||
new(models.Migration),
|
||||
new(models.Label),
|
||||
new(models.Blog),
|
||||
new(models.Template),
|
||||
)
|
||||
gob.Register(models.Blog{})
|
||||
gob.Register(models.Document{})
|
||||
gob.Register(models.Template{})
|
||||
//migrate.RegisterMigration()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user