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

google-go-github-v48

JSON →
library48.2.0gogounverified

Go library for accessing the GitHub REST API v3.

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

Create a GitHub client and fetch a user's information.

package main import ( "context" "fmt" "github.com/google/go-github/v48/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") fmt.Println(user.GetLogin()) }
Debug
Known issues
gotchaVersion v48 is not the latest major version; check for newer releases.
fix
Use the latest major version (e.g., v69) for up-to-date API support.
affects: v48
Upgrade
Version history
48.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
google-go-github-v48 — go get google-go-github-v48 · libregistry