feat: base
This commit is contained in:
11
internal/models/models.go
Normal file
11
internal/models/models.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package models
|
||||
|
||||
var Entities = []any{
|
||||
&Post{},
|
||||
}
|
||||
|
||||
type Post struct {
|
||||
Id uint `gorm:"primaryKey"`
|
||||
Text string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user