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.
|
// User represents a API user.
|
||||||
type User struct {
|
type User struct {
|
||||||
Id int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
UserName string `json:"username"`
|
UserName string `json:"username"`
|
||||||
FullName string `json:"full_name"`
|
FullName string `json:"full_name"`
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
|
|
Loading…
Reference in a new issue