Browse Source

rename TreesServe to GitService

Will Norris 13 years ago
parent
commit
cf1e5f660e
3 changed files with 9 additions and 9 deletions
  1. +5
    -5
      github/git.go
  2. +2
    -2
      github/git_test.go
  3. +2
    -2
      github/github.go

github/trees.go → github/git.go View File


github/trees_test.go → github/git_test.go View File


+ 2
- 2
github/github.go View File

@ -91,7 +91,7 @@ type Client struct {
Organizations *OrganizationsService Organizations *OrganizationsService
PullRequests *PullRequestsService PullRequests *PullRequestsService
Repositories *RepositoriesService Repositories *RepositoriesService
Trees *TreesService
Git *GitService
Users *UsersService Users *UsersService
Gists *GistsService Gists *GistsService
} }
@ -118,7 +118,7 @@ func NewClient(httpClient *http.Client) *Client {
c.Organizations = &OrganizationsService{client: c} c.Organizations = &OrganizationsService{client: c}
c.PullRequests = &PullRequestsService{client: c} c.PullRequests = &PullRequestsService{client: c}
c.Repositories = &RepositoriesService{client: c} c.Repositories = &RepositoriesService{client: c}
c.Trees = &TreesService{client: c}
c.Git = &GitService{client: c}
c.Users = &UsersService{client: c} c.Users = &UsersService{client: c}
c.Gists = &GistsService{client: c} c.Gists = &GistsService{client: c}
return c return c


Loading…
Cancel
Save