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

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
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