feat: add service and model

This commit is contained in:
Jeffrey Duroyon
2020-05-10 23:58:49 +02:00
parent 4369438ff2
commit c8993f1ca3
20 changed files with 89 additions and 29 deletions

View File

@@ -1,6 +1,8 @@
package model
import "time"
import (
"time"
)
type User struct {
UserEditable
@@ -8,6 +10,7 @@ type User struct {
CreatedAt time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
GoogleId string `json:"-"`
Games []Game
}
type UserEditable struct {