From 32b13fbf86c97a241b9e938fbbda3d62e01c8023 Mon Sep 17 00:00:00 2001 From: namhq1989 Date: Sun, 18 Dec 2022 10:56:55 +0700 Subject: [PATCH] add model user --- model.go | 1 + 1 file changed, 1 insertion(+) diff --git a/model.go b/model.go index 506de4f..0f33f37 100644 --- a/model.go +++ b/model.go @@ -9,6 +9,7 @@ import "go.mongodb.org/mongo-driver/bson/primitive" type User struct { ID primitive.ObjectID `json:"_id"` Name string `json:"name"` + Type string `json:"type"` Avatar *FilePhoto `json:"avatar"` }