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

google-go-github-v33

JSON →
library33.0.0gogounverified

A Go client library for accessing the GitHub API.

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

Fetch a GitHub user

package main import ( "context" "fmt" "github.com/google/go-github/v33/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") fmt.Println(user.GetLogin()) }
Debug
Known issues
breakingVersion v33 uses a different import path than earlier versions; ensure you use the correct major version in your go.mod.
fix
Use 'go get github.com/google/go-github/v33' and import as shown.
affects: >=33.0.0
Upgrade
Version history
33.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Amazon
1
Resources