We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client := github.NewClient(nil).WithAuthToken(e.getGithubToken()) ctx, cancelFunc := context.WithTimeout(context.Background(), 5*time.Second) defer cancelFunc() repo, _, err := client.Repositories.Get(ctx, "google/go-github", "commits") if err != nil { log.Fatal(err) }
fmt.Println(repo)
2024/07/24 14:54:44 json: cannot unmarshal array into Go value of type github.Repository
The text was updated successfully, but these errors were encountered:
Could you please give us more information by sharing the output when using https://github.com/gmlewis/go-httpdebug with this call?
Sorry, something went wrong.
No branches or pull requests
client := github.NewClient(nil).WithAuthToken(e.getGithubToken())
ctx, cancelFunc := context.WithTimeout(context.Background(), 5*time.Second)
defer cancelFunc()
repo, _, err := client.Repositories.Get(ctx, "google/go-github", "commits")
if err != nil {
log.Fatal(err)
}
2024/07/24 14:54:44 json: cannot unmarshal array into Go value of type github.Repository
The text was updated successfully, but these errors were encountered: