Updated types and removed packsge import

This commit is contained in:
KD
2025-03-02 20:38:39 -05:00
parent 12b87b769f
commit 458c4fcfcc

View File

@@ -1,9 +1,6 @@
package models package models
import ( import "time"
"fmt"
"time"
)
type User struct { type User struct {
Id int `json:"id"` Id int `json:"id"`
@@ -14,7 +11,7 @@ type User struct {
Firstname string `json:"firstname"` Firstname string `json:"firstname"`
Lastname string `json:"lastname"` Lastname string `json:"lastname"`
EmailVerified bool `json:"email_verified"` EmailVerified bool `json:"email_verified"`
DateCreated time `json:"date_created"` DateCreated time.Time `json:"date_created"`
Status string `json:"status"` Status string `json:"status"`
LastLogin time `json:"last_login"` LastLogin time.Time `json:"last_login"`
} }