Versions in this module Expand all Collapse all v0 v0.0.1 Dec 27, 2020 Changes in this version + type Check struct + func NewCheck(gh CommentSelector) *Check + func (c *Check) Run(ctx context.Context, request Request) ([]Version, error) + type CommentFetcher interface + GetComment func(ctx context.Context, commentID uint) (github.Comment, error) + type CommentPusher interface + PutComment func(ctx context.Context, body string, prNumber int) (github.Comment, error) + type CommentSelector interface + SelectComments func(context.Context, ...github.Filter) ([]github.Comment, error) + type In struct + func NewIn(gh CommentFetcher) *In + func (i *In) Run(ctx context.Context, req Request, writer io.Writer) (Response, error) + type Metadata struct + Key string + Value string + type Out struct + func NewOut(gh CommentPusher) *Out + func (o *Out) Run(ctx context.Context, req Request, reader io.Reader) (Response, error) + type Request struct + Params map[string]string + Source Source + Version Version + type Response struct + Metadata []Metadata + Version Version + func (r *Response) GetMetadataField(name string) string + type Source struct + AccessToken string + Comments string + Labels []string + LatestPerPR bool + Repository string + func (s *Source) OwnerAndName() (string, string, error) + type Version struct + CommentID string + func VersionFromNumber(commentID uint) Version + func (v *Version) IDNumber() uint