Documentation
¶
Index ¶
- type Client
- func (c *Client) ListComment(ctx context.Context, owner string, repo string, pr *github.PullRequest) ([]*github.PullRequestComment, error)
- func (c *Client) ListContribution(ctx context.Context, owner string, repo string, prs []*github.PullRequest) ([]*Contribution, error)
- func (c *Client) ListIssueComment(ctx context.Context, owner string, repo string, pr *github.PullRequest) ([]*github.IssueComment, error)
- func (c *Client) ListPullRequest(ctx context.Context, owner string, repo string, start, end time.Time) ([]*github.PullRequest, error)
- func (c *Client) ListRepositoryByOrg(ctx context.Context, org string) ([]*github.Repository, error)
- func (c *Client) ListReview(ctx context.Context, owner string, repo string, pr *github.PullRequest) ([]*github.PullRequestReview, error)
- type Contribution
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewEnterpriseClient ¶
func (*Client) ListComment ¶
func (c *Client) ListComment(ctx context.Context, owner string, repo string, pr *github.PullRequest) ([]*github.PullRequestComment, error)
func (*Client) ListContribution ¶
func (c *Client) ListContribution(ctx context.Context, owner string, repo string, prs []*github.PullRequest) ([]*Contribution, error)
func (*Client) ListIssueComment ¶
func (c *Client) ListIssueComment(ctx context.Context, owner string, repo string, pr *github.PullRequest) ([]*github.IssueComment, error)
func (*Client) ListPullRequest ¶
func (*Client) ListRepositoryByOrg ¶
func (*Client) ListReview ¶
func (c *Client) ListReview(ctx context.Context, owner string, repo string, pr *github.PullRequest) ([]*github.PullRequestReview, error)
type Contribution ¶
type Contribution struct { PullRequest *github.PullRequest Reviews []*github.PullRequestReview Comments []*github.PullRequestComment IssueComments []*github.IssueComment }
Click to show internal directories.
Click to hide internal directories.