Versions in this module Expand all Collapse all v0 v0.0.1 Dec 27, 2020 Changes in this version + type Client struct + func NewClient(ctx context.Context, accessToken, owner, repositoryName string) *Client + func (c *Client) GetComment(ctx context.Context, commentID uint) (Comment, error) + func (c *Client) GetComments(ctx context.Context) ([]Comment, error) + func (c *Client) PutComment(ctx context.Context, body string, prNumber int) (Comment, error) + func (c *Client) SelectComments(ctx context.Context, filters ...Filter) ([]Comment, error) + type Comment struct + Body string + ID uint + Labels map[string]struct{} + PullRequestNumber uint + func (c *Comment) HasLabel(label string) bool + type Filter func([]Comment) []Comment + func FilterCommentRegex(regex string) Filter + func FilterLabels(labels []string) Filter + func FilterLatestPerPR() Filter + func FilterSince(commentID uint) Filter