func NewClient(uri string) *Client {
	return &Client{http.DefaultClient, uri}
}
NewClient returns a client at the specified url.
package github
import (
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"io/ioutil"
	"net/http"
	"net/url"
	"golang.org/x/oauth2"
)
const (
	pathLogin  = "%slogin?access_token=%s"
	pathUser   = "%sapi/user"
	pathRepos  = "%sapi/user/repos"
	pathRepo   = "%sapi/repos/%s"
	pathConf   = "%sapi/repos/%s/maintainers"
	pathBranch = "%srepos/%s/%s/branches/%s"
)
type Client struct {
	client *http.Client
	base   string  
}