[fix] User.ID() int -> int64
This commit is contained in:
parent
1f119cf945
commit
104d5e82a9
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type user struct {
|
type user struct {
|
||||||
id int
|
id int64
|
||||||
uuid string
|
uuid string
|
||||||
username string
|
username string
|
||||||
nickname string
|
nickname string
|
||||||
@ -17,7 +17,7 @@ type user struct {
|
|||||||
roles []string
|
roles []string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this user) ID() int {
|
func (this user) ID() int64 {
|
||||||
return this.id
|
return this.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user