This commit is contained in:
sentriz
2019-05-19 23:28:05 +01:00
parent 5c657d9630
commit ad571ed7ab
45 changed files with 787 additions and 492 deletions

14
model/base.go Normal file
View File

@@ -0,0 +1,14 @@
package model
import (
"time"
)
type CrudBase struct {
CreatedAt time.Time
UpdatedAt time.Time
}
type IDBase struct {
ID int `gorm:"primary_key"`
}