Merge branch 'update_user' into 'main'
Updated types and removed packsge import See merge request kdeng00/icarus-models!5
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
import "time"
|
||||
|
||||
type User struct {
|
||||
Id int `json:"id"`
|
||||
@@ -14,7 +11,7 @@ type User struct {
|
||||
Firstname string `json:"firstname"`
|
||||
Lastname string `json:"lastname"`
|
||||
EmailVerified bool `json:"email_verified"`
|
||||
DateCreated time `json:"date_created"`
|
||||
DateCreated time.Time `json:"date_created"`
|
||||
Status string `json:"status"`
|
||||
LastLogin time `json:"last_login"`
|
||||
LastLogin time.Time `json:"last_login"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user