|
|
@@ -17,11 +17,12 @@ type User struct {
|
|
|
Location string `json:"location"`
|
|
|
Description string `json:"bio"`
|
|
|
IsAdmin bool `json:"site_admin"`
|
|
|
- AvatarUrl string `json:"avatar_url"`
|
|
|
+ NumRepos int `json:"repos"`
|
|
|
Created time.Time `json:"created_at"`
|
|
|
Updated time.Time `json:"updated_at"`
|
|
|
NumFollowing int `json:"following"`
|
|
|
NumFollowers int `json:"followers"`
|
|
|
+ AvatarUrl string `json:"avatar_url"`
|
|
|
}
|
|
|
|
|
|
// MarshalJSON implements the json.Marshaler interface for User
|