From adb0a57a3c1a5f58ec39cd59d1f463a53e4be9bf Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 25 Jun 2021 21:45:31 +0200 Subject: [PATCH] Updated user struct --- modules/structs/user.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/structs/user.go b/modules/structs/user.go index c33a9af..e3b1e8e 100644 --- a/modules/structs/user.go +++ b/modules/structs/user.go @@ -1,11 +1,13 @@ package structs -import "time" +import ( + "time" +) // User represents a user // swagger:model type User struct { - ID string + Id string Hashtag string Name string Email string @@ -13,9 +15,9 @@ type User struct { /*Rank int AvatarUrl string Location string - Description string - Language string - Cash int + Description string */ + LanguageId int + /* Cash int Posts int Followers int Following int */