Versions in this module Expand all Collapse all v1 v1.0.0 Jan 8, 2026 Changes in this version + func ListAllIssues(ctx context.Context, client *github.Client, owner, repo string) ([]*github.Issue, error) + func ListAllPullRequests(ctx context.Context, client *github.Client, owner, repo string) ([]*github.PullRequest, error) + func NewClient(token string) *github.Client + func ParseBodyReferences(body string) []int + type Comment struct + Author string + Body string + CreatedAt time.Time + HTMLURL string + ID int64 + Reactions *Reactions + URL string + UpdatedAt time.Time + func ParseComment(ghComment *github.IssueComment) Comment + func ParseIssueComments(ctx context.Context, client *github.Client, owner, repo string, number int) ([]Comment, error) + type CrossRef struct + CreatedAt time.Time + Number int + State string + Title string + Type string + URL string + type Issue struct + Assignees []string + Author string + Body string + ClosedAt *time.Time + CommentCount int + Comments []Comment + CreatedAt time.Time + CrossReferences []CrossRef + HTMLURL string + ID int64 + Labels []string + Milestone *Milestone + Number int + Reactions *Reactions + State string + Timeline []TimelineEvent + Title string + URL string + UpdatedAt time.Time + func GetIssue(ctx context.Context, client *github.Client, owner, repo string, number int) (*Issue, error) + func GetIssuesByAuthor(issues []Issue, author string) []Issue + func GetIssuesByLabel(issues []Issue, label string) []Issue + func ParseIssue(ghIssue *github.Issue) *Issue + type Milestone struct + CreatedAt time.Time + Description string + DueOn *time.Time + ID int64 + Number int + State string + Title string + func ParseMilestone(ghMilestone *github.Milestone) *Milestone + type PullRequest struct + Additions int + Assignees []string + Author string + BaseBranch string + ChangedFiles int + ClosedAt *time.Time + Comments []Comment + CreatedAt time.Time + CrossReferences []CrossRef + Deletions int + Description string + Draft bool + HTMLURL string + HeadBranch string + ID int64 + Labels []string + MaintainerCanModify bool + MergeCommitSHA string + Mergeable bool + Merged bool + MergedAt *time.Time + Milestone *Milestone + Number int + RequestedReviewers []string + ReviewComments []ReviewComment + Reviews []Review + State string + Timeline []TimelineEvent + Title string + URL string + UpdatedAt time.Time + func GetPRsByAuthor(prs []PullRequest, author string) []PullRequest + func GetPullRequest(ctx context.Context, client *github.Client, owner, repo string, number int) (*PullRequest, error) + func ParsePullRequest(ghPR *github.PullRequest) *PullRequest + type Reactions struct + Confused int + Eyes int + Heart int + Hooray int + Laugh int + MinusOne int + PlusOne int + Rocket int + TotalCount int + func ParseReactions(ghReactions *github.Reactions) *Reactions + type Review struct + Author string + Body string + ID int64 + State string + SubmittedAt time.Time + URL string + func ParseReview(ghReview *github.PullRequestReview) Review + func ParseReviews(ctx context.Context, client *github.Client, owner, repo string, number int) ([]Review, error) + type ReviewComment struct + Author string + Body string + CommitID string + CreatedAt time.Time + DiffHunk string + HTMLURL string + ID int64 + InReplyToID int64 + Line int + OriginalCommitID string + OriginalLine int + OriginalStartLine int + Path string + Reactions *Reactions + Side string + StartLine int + StartSide string + SubjectType string + URL string + UpdatedAt time.Time + func ParseReviewComment(ghComment *github.PullRequestComment) ReviewComment + func ParseReviewComments(ctx context.Context, client *github.Client, owner, repo string, number int) ([]ReviewComment, error) + type TimelineEvent struct + Actor string + CreatedAt time.Time + Event string + Source *TimelineSource + func ParseTimeline(ctx context.Context, client *github.Client, owner, repo string, number int) ([]TimelineEvent, error) + func ParseTimelineEvent(ghEvent *github.Timeline) TimelineEvent + type TimelineSource struct + Number int + State string + Title string + Type string + URL string