controller added
Registrierung hinzugefügt
This commit is contained in:
14
app/models/models.go
Normal file
14
app/models/models.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
type Model struct {
|
||||
Model interface{}
|
||||
}
|
||||
|
||||
func RegisterModels() []Model {
|
||||
return []Model{
|
||||
{Model: User{}},
|
||||
{Model: Product{}},
|
||||
{Model: Category{}},
|
||||
{Model: Section{}},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user