Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v0.7.0
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetMostUpdatedIssues ¶ added in v0.7.0
func (p *Client) GetMostUpdatedIssues(ctx context.Context, count int, since time.Time) ([]*github.Issue, *github.Response, error)
GetMostUpdatedIssues fetches open issues from the configured repository, sorted by update time (oldest first).
Parameters:
- count: maximum number of issues to return per page. Values < 1 default to 50.
- since: only issues updated after this time are returned. Zero value fetches all.
Errors are classified via mapError: transient failures (network, rate limit, 5xx) carry httperr sentinels, permanent failures (401, 404, 422) are returned as-is. The original GitHub error is preserved in the chain for errors.As access.
On success, resp carries HTTP metadata (rate limit headers, pagination). On error, both issues and resp are nil.
Click to show internal directories.
Click to hide internal directories.