diff --git a/tx0/user/user_profile.go b/tx0/user/user_profile.go index fbbb95c..01b7f84 100644 --- a/tx0/user/user_profile.go +++ b/tx0/user/user_profile.go @@ -14,8 +14,8 @@ type UserProfile struct { Username string `json:"username"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` - Created time `json:"created"` - LastLogin *time `json:"last_login,omitempty"` + Created time.Time `json:"created"` + LastLogin *time.Time `json:"last_login,omitempty"` } func InitUserProfile(usr *User) (usrProfile *UserProfile, err error) {