From 9ea35aaa6631ad4f5ad37b6bf4f82de66023fed6 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 19 Aug 2015 05:28:20 +0800 Subject: [PATCH] rename field --- user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.go b/user.go index 3991685..0bf2254 100644 --- a/user.go +++ b/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"`