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/v44/github
Demonstrates fetching a GitHub user.
package main
import (
"context"
"fmt"
"github.com/google/go-github/v44/github"
)
func main() {
client := github.NewClient(nil)
user, _, _ := client.Users.Get(context.Background(), "octocat")
fmt.Println(user.GetLogin())
}
Debug
Known issues
breakingVersion v44 is outdated; consider using v68 or later for latest API features.fixUpdate to the latest major version (e.g., v68) for full API support.
affects: >=44.0.0 <45.0.0
Upgrade
Version history
44.1.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.