Versions in this module Expand all Collapse all v1 v1.3.0 Jan 16, 2026 Changes in this version type ReviewComment + CreatedAt time.Time type ThreadComment + CreatedAt time.Time v1.2.0 Nov 21, 2025 Changes in this version type Client + func (c *Client) ListOpenPRs() ([]*PullRequest, error) + type PullRequest struct + Author string + HeadRefName string + IsDraft bool + Number int + ReviewDecision string + State string + Title string v1.1.0 Nov 20, 2025 v1.0.0 Nov 19, 2025 Changes in this version + type Client struct + func NewClient() *Client + func (c *Client) DumpCommentsJSON(prNumber int, commentIDs []int64) (string, error) + func (c *Client) FetchReviewComments(prNumber int) ([]*ReviewComment, error) + func (c *Client) GetCurrentBranchPR() (int, error) + func (c *Client) GetRepo() (string, error) + func (c *Client) ReplyToReviewComment(prNumber int, commentID int64, body string) (*ThreadComment, error) + func (c *Client) ResolveThread(threadID string) error + func (c *Client) SetDebug(debug bool) + func (c *Client) SetRepo(repo string) + func (c *Client) UnresolveThread(threadID string) error + type ReviewComment struct + Author string + Body string + DiffHunk string + DiffSide diffposition.DiffSide + EndLine int + HTMLURL string + HasSuggestion bool + ID int64 + IsOutdated bool + Line int + OriginalEndLine int + OriginalLine int + OriginalLines int + OriginalStartLine int + Path string + StartLine int + SubjectType string + SuggestedCode string + ThreadComments []ThreadComment + ThreadID string + func (rc *ReviewComment) IsResolved() bool + type ThreadComment struct + Author string + Body string + HTMLURL string + ID int64 + type ThreadInfo struct + Comments []ThreadComment + ID string + IsResolved bool