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

google-go-github-v28

JSON →
library28.1.1gogounverified

Go library for accessing the GitHub API v3, providing methods for repositories, issues, and more.

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

Fetch a GitHub user

package main import ( "context" "fmt" "github.com/google/go-github/v28/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") fmt.Println(user.GetLogin()) }
Debug
Known issues
gotchaVersion v28 is outdated; consider using newer major versions (v32+) for latest API features.
fix
Update to github.com/google/go-github/v32 or later.
affects: 28.x
Upgrade
Version history
28.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
google-go-github-v28 — go get google-go-github-v28 · libregistry