This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
shop/app/models/models.go
Damian Wessels 7c3d3e03bc controller added
Registrierung hinzugefügt
2023-11-12 20:28:09 +01:00

15 lines
198 B
Go

package models
type Model struct {
Model interface{}
}
func RegisterModels() []Model {
return []Model{
{Model: User{}},
{Model: Product{}},
{Model: Category{}},
{Model: Section{}},
}
}