Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) SearchIssues(ctx context.Context, qry Query, opts *github.SearchOptions) (*github.IssuesSearchResult, *github.Response, error)
- func (c *Client) SearchIssuesAll(ctx context.Context, qry Query, opts *github.SearchOptions) (Issues, error)
- func (c *Client) SearchOpenPullRequests(ctx context.Context, username string, opts *github.SearchOptions) (*github.IssuesSearchResult, *github.Response, error)
- type Issue
- type Issues
- type Query
Constants ¶
View Source
const ( UsernameDependabot = "dependabot[bot]" UserIDDependabot = 49699333 ParamPerPageValueMax = 100 ParamPerPageValueDefault = 30 ParamUser = "user" ParamState = "state" ParamStateValueOpen = "open" ParamIs = "is" ParamIsValuePR = "pr" BaseURLRepoAPI = "https://api.github.com/repos" BaseURLRepoHTML = "https://github.com" )
Variables ¶
View Source
var ( ErrIssueIsNotSet = errors.New("issue is not set") ErrUserIsNotSet = errors.New("user is not set") ErrUserLoginIsNotSet = errors.New("user login is not set") ErrIssueCreatedAtIsNotSet = errors.New("issue created at is not set") ErrIssueCreatedAtGetTimeIsNotSet = errors.New("issue created at gettime is not set") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) SearchIssues ¶
func (c *Client) SearchIssues(ctx context.Context, qry Query, opts *github.SearchOptions) (*github.IssuesSearchResult, *github.Response, error)
SearchIssues is a wrapper for `SearchService.Issues()`.
func (*Client) SearchIssuesAll ¶
func (*Client) SearchOpenPullRequests ¶
type Issue ¶
func (*Issue) AuthorUserID ¶ added in v0.2.0
func (*Issue) AuthorUsername ¶
func (*Issue) MustAuthorUserID ¶ added in v0.2.0
func (*Issue) MustAuthorUsername ¶
type Issues ¶
func (Issues) RepositoryIssueCounts ¶ added in v0.2.0
func (Issues) TableRepos ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.