rename field

This commit is contained in:
Unknwon 2015-08-19 05:28:20 +08:00
parent 9691e262d6
commit 9ea35aaa66
1 changed files with 1 additions and 1 deletions

View File

@ -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"`