Versions in this module Expand all Collapse all v0 v0.0.4 Jul 3, 2023 v0.0.3 Jun 29, 2023 Changes in this version + type AbuseRateLimitError struct + BackoffInSeconds int + func (e AbuseRateLimitError) Error() string + type CommentAlreadyWrittenError struct + func (e CommentAlreadyWrittenError) Error() string + type CommentNotValidError struct + func (e CommentNotValidError) Error() string + type Commenter struct + func NewCommenter(token, owner, repo string, prNumber int) (*Commenter, error) + func NewEnterpriseCommenter(token, baseUrl, uploadUrl, owner, repo string, prNumber int) (*Commenter, error) + func (c *Commenter) WriteGeneralComment(comment string) error + func (c *Commenter) WriteLineComment(file, comment string, line int) error + func (c *Commenter) WriteMultiLineComment(file, comment string, startLine, endLine int) error + type PrDoesNotExistError struct + func (e PrDoesNotExistError) Error() string