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

google-go-github-v29

JSON →
library29.0.3gogounverified

Go client library for accessing the GitHub API v3.

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

Fetches a GitHub user by username.

package main import ( "context" "fmt" "github.com/google/go-github/v29/github" ) func main() { client := github.NewClient(nil) user, _, err := client.Users.Get(context.Background(), "octocat") if err != nil { fmt.Println("Error:", err) return } fmt.Println(user.GetLogin()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
29.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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