From 32ce9635adf035625efd95195c4171474970fd9e Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 28 May 2021 22:06:27 +0200 Subject: [PATCH] update user struct --- modules/structs/user.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 modules/structs/user.go diff --git a/modules/structs/user.go b/modules/structs/user.go new file mode 100644 index 0000000..c33a9af --- /dev/null +++ b/modules/structs/user.go @@ -0,0 +1,25 @@ +package structs + +import "time" + +// User represents a user +// swagger:model +type User struct { + ID string + Hashtag string + Name string + Email string + Password string + /*Rank int + AvatarUrl string + Location string + Description string + Language string + Cash int + Posts int + Followers int + Following int */ + LastLogin time.Time + CreatedAt time.Time + UpdatedAt time.Time +}