Go client library for accessing the GitHub API v3
Agent Success
Agent success rate when using this tile
65%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.14x
Baseline
Agent success rate without this tile
57%
Build a helper that fetches open issues for a repository while honoring API rate limits and exposing rate metadata alongside results.
@generates
type RateInfo struct {
Limit int
Remaining int
Reset time.Time
RetryAfter time.Duration
}
type IssueSummary struct {
Number int
Title string
URL string
}
type RateAwareClient struct {
// internal fields elided
}
func NewRateAwareClient(httpClient *http.Client, token string) (*RateAwareClient, error)
// ListOpenIssues retrieves open issues for the repository, respecting primary rate limits and surfacing secondary-limit retry hints.
// It aggregates across pages until completion or until a rate limit condition requires pausing.
func (c *RateAwareClient) ListOpenIssues(ctx context.Context, owner string, repo string, perPage int) ([]IssueSummary, RateInfo, error)Typed client for GitHub's REST API with rate-limit metadata and typed response helpers.
tessl i tessl/golang-github-com-google-go-github@79.0.1docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10