Registry / http-client / google-go-github-v49

google-go-github-v49

JSON →
library49.1.0gogounverified

Go client library for accessing the GitHub REST API v3.

go get github.com/google/go-github/v49
INSTALL
IMPORT
SIG · GOOGLE-GO-GITHUB-V
G
google-go-github-v49
http-clientgov49.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

github
github.com/google/go-github/v49

Creates a GitHub client and fetches a user's profile.

package main import ( "context" "github.com/google/go-github/v49/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") _ = user }
Debug
Known issues
breakingv49 is a specific major version; ensure your go.mod requires v49.x.x.
fix
Use 'go get github.com/google/go-github/v49@v49.1.0'.
affects: >=49.0.0
Upgrade
Version history
49.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
Resources
google-go-github-v49 — go get google-go-github-v49 · libregistry