controller added

Registrierung hinzugefügt
This commit is contained in:
2023-11-12 20:28:09 +01:00
parent d2cd4c3a41
commit 7c3d3e03bc
13 changed files with 429 additions and 30 deletions

14
app/models/models.go Normal file
View 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{}},
}
}