From 7cf3e7943ca349c5a9ae6ec47133a84fab1e7248 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Thu, 21 Mar 2024 22:41:05 -0700 Subject: [PATCH] created the initial model --- api/models/users.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/api/models/users.go b/api/models/users.go index 730153c..e47dc2b 100644 --- a/api/models/users.go +++ b/api/models/users.go @@ -1,6 +1,11 @@ package models +import "time" + type UserModel struct { - Name string - Hash string -} \ No newline at end of file + Id int + Name string + Hash string + CreatedAt time.Time + LastUpdated time.Time +}