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

google-go-github-v53

JSON →
library53.2.0gogounverified

A Go client library for accessing the GitHub API v3.

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

Fetches a GitHub user's information using the API client.

package main import ( "context" "fmt" "github.com/google/go-github/v53/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") fmt.Println(*user.Login) }
Debug
Known issues
breakingVersion v53 uses Go modules with major version suffix; import path must include /v53.
fix
Use import path github.com/google/go-github/v53/github.
affects: >=53.0.0
Upgrade
Version history
53.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
google-go-github-v53 — go get google-go-github-v53 · libregistry