From 4026a40fa106ce0e29a15ff04ea4d73539baad25 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 10 Aug 2021 12:33:56 +0200 Subject: [PATCH] Added APIUser struct --- modules/structs/user.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/structs/user.go b/modules/structs/user.go index 4e35b97..c7a1429 100644 --- a/modules/structs/user.go +++ b/modules/structs/user.go @@ -26,3 +26,11 @@ type User struct { CreatedAt time.Time UpdatedAt time.Time } + +type APIUser struct { + Id string + Hashtag string + Name string + AvatarUrl string + Points int +}