// Copyright 2013 Google. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file or at
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
package github
|
|
|
|
// UsersService handles communication with the user related
|
|
// methods of the GitHub API.
|
|
//
|
|
// GitHub API docs: http://developer.github.com/v3/users/
|
|
type UsersService struct {
|
|
client *Client
|
|
}
|
|
|
|
type User struct {
|
|
Login string `json:"login,omitempty"`
|
|
ID int `json:"id,omitempty"`
|
|
URL string `json:"url,omitempty"`
|
|
AvatarURL string `json:"avatar_url,omitempty"`
|
|
}
|