go-github is a Go client library for accessing the GitHub API v3. Currently, go-github requires Go version 1.13 or greater. go-github tracks Go's version support policy. We do our best not to break older versions of Go if we don't have to, but due to tooling constraints, we don't always test older versions. If you're interested in using the GraphQL API v4, the recommended library is shurcooL/githubv4. go-github is compatible with modern Go releases in module mode. Resolve and add the package to the current development module, along with its dependencies. Alternatively the same can be achieved if you use import in a package. Construct a new GitHub client, then use the various services on the client to access different parts of the GitHub API. Some API methods have optional parameters that can be passed. Using the context package, one can easily pass cancelation signals and deadlines to various services of the client for handling a request.

Features

  • GitHub Apps authentication can be provided by the ghinstallation package
  • When using an authenticated Client, all calls made by the client will include the specified OAuth token
  • The go-github library does not directly handle authentication
  • The GitHub API has good support for conditional requests
  • All structs for GitHub resources use pointer values for all non-repeated fields
  • You can run integration tests from the test directory

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow go-github

go-github Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-github!

Additional Project Details

Programming Language

Go

Related Categories

Go Libraries

Registered

2021-07-23