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

google-go-github-v54

JSON →
library54.0.0gogounverified

Go client library for accessing the GitHub API v3.

go get github.com/google/go-github/v54
INSTALL
IMPORT
SIG · GOOGLE-GO-GITHUB-V
G
google-go-github-v54
http-clientgov54.0.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/v54

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

package main import ( "context" "github.com/google/go-github/v54/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") println(*user.Login) }
Debug
Known issues
gotchaThe import path uses /v54; ensure your go.mod requires the correct major version.
fix
Use go get github.com/google/go-github/v54@latest.
affects: >=54.0.0
Upgrade
Version history
54.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources