rename field
This commit is contained in:
parent
9691e262d6
commit
9ea35aaa66
1 changed files with 1 additions and 1 deletions
2
user.go
2
user.go
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
// User represents a API user.
|
||||
type User struct {
|
||||
Id int64 `json:"id"`
|
||||
ID int64 `json:"id"`
|
||||
UserName string `json:"username"`
|
||||
FullName string `json:"full_name"`
|
||||
Email string `json:"email"`
|
||||
|
|
Loading…
Reference in a new issue