google/go-github

Go library for accessing the GitHub v3 API

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 23 minutes ago
Added to GitGenius on February 18th, 2025
Created on May 24th, 2013
Open Issues & Pull Requests: 34 (+0)
Number of forks: 2,483
Total Stargazers: 11,280 (+0)
Total Subscribers: 204 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 hours
Mean response time: 140.3 days
90th percentile: 732.7 days
Tracked items: 342

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 82% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 6% of issues opened in the past year have been closed. Three people close 92% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 22
New in 7 days: 4
Closed in 7 days: 3
Avg open age: 425 days
Stale 30+ days: 18
Stale 90+ days: 12

Recent activity

Opened in 7 days: 3
Closed in 7 days: 3
Comments in 7 days: 1
Events in 7 days: 4

Top labels

  • good first issue (123)
  • enhancement (121)
  • Breaking API Change (28)
  • bug (23)
  • challenging (9)
  • NeedsInvestigation (8)
  • question (6)
  • waiting for reply (6)

Detailed Description

go-github is a Go client library for accessing the GitHub REST API v3.

The library solves the problem of integrating GitHub API functionality into Go applications by providing a structured client that divides the API into logical service chunks corresponding to the GitHub API documentation. Developers construct a new GitHub client and use its various services to access different parts of the API, with support for optional parameters on API methods and context-based cancellation and deadlines.

Adopters should choose this library if they need REST API access rather than GraphQL functionality, for which the README recommends an alternative library. The tool suits any Go project requiring programmatic interaction with GitHub repositories, issues, pull requests, and other GitHub resources. Authentication is straightforward through OAuth tokens via the WithAuthToken option, with support for more advanced scenarios through custom HTTP transports or clients, and specific support for GitHub Apps authentication through external packages. The library follows Go's version support policy, maintaining compatibility with the latest two major releases of Go.

The project maintains a substantial base of adopters, as evidenced by the fact that almost all open issues are raised by outside users rather than the core team. Maintainers typically respond to new issues and pull requests within hours. Work in the issue tracker is dominated by enhancement requests, breaking API changes, and bug reports.