Versions in this module Expand all Collapse all v0 v0.9.0 Apr 12, 2024 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 Github struct + Owner string + PrNumber int + Repo string + Token string + func NewGithub(token, owner, repo string, prNumber int) (gh *Github, err error) + func NewGithubServer(apiUrl, token, owner, repo string, prNumber int) (gh *Github, err error) + func (c *Github) RemovePreviousKhulnasoftComments(_ string) error + func (c *Github) WriteLineComment(file, comment string, line int) error + func (c *Github) WriteMultiLineComment(file, comment string, startLine, endLine int) error + type PrDoesNotExistError struct + func (e PrDoesNotExistError) Error() string