register controller

This commit is contained in:
Fran Jurmanović
2021-05-08 18:26:02 +02:00
parent 20894ee42e
commit 316c39b2dd
12 changed files with 193 additions and 3 deletions

9
pkg/models/db.go Normal file
View File

@@ -0,0 +1,9 @@
package models
import "time"
type CommonModel struct {
Id string `json:"id" pg:"id"`
DateCreated time.Time `json:"dateCreated" pg:"datecreated"`
DateUpdated time.Time `json:"dateUpdated" pg:"dateupdated"`
}