rename field

This commit is contained in:
Unknwon 2015-08-19 05:28:20 +08:00
parent 9691e262d6
commit 9ea35aaa66

View file

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