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

google-go-github-v27

JSON →
library27.0.6gogounverified

A Go client library for accessing the GitHub API v3, version 27 of the module.

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

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

package main import ( "context" "fmt" "github.com/google/go-github/v27/github" ) func main() { client := github.NewClient(nil) user, _, _ := client.Users.Get(context.Background(), "octocat") fmt.Printf("User: %s\n", *user.Login) }
Debug
Known issues
gotchaThis version (v27) is outdated; consider using a newer major version for latest features and fixes.
fix
Update to the latest major version, e.g., github.com/google/go-github/v68.
affects: 27.x
Upgrade
Version history
27.0.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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