Fixed error
This commit is contained in:
@@ -14,8 +14,8 @@ type UserProfile struct {
|
|||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
Firstname string `json:"firstname"`
|
Firstname string `json:"firstname"`
|
||||||
Lastname string `json:"lastname"`
|
Lastname string `json:"lastname"`
|
||||||
Created time `json:"created"`
|
Created time.Time `json:"created"`
|
||||||
LastLogin *time `json:"last_login,omitempty"`
|
LastLogin *time.Time `json:"last_login,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func InitUserProfile(usr *User) (usrProfile *UserProfile, err error) {
|
func InitUserProfile(usr *User) (usrProfile *UserProfile, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user