Versions in this module Expand all Collapse all v4 v4.3.0 Jun 27, 2024 v4.2.0 Jun 20, 2024 v4.1.3 Jun 17, 2024 Changes in this version + func CurrentLoginName() (string, error) + func IsConclusionAFailure(conclusion string) bool + func IsStatusWaiting(status string) bool + type Assignee struct + Login string + type Assignees struct + Nodes []Assignee + type CheckRun struct + CheckSuite struct{ ... } + Conclusion graphql.String + Name graphql.String + Status graphql.String + type Comment struct + Author struct{ ... } + Body string + UpdatedAt time.Time + type Comments struct + Nodes []Comment + TotalCount int + type Commits struct + Nodes []struct{ ... } + type IssueComment struct + Author struct{ ... } + Body string + UpdatedAt time.Time + type IssueComments struct + Nodes []IssueComment + TotalCount int + type IssueData struct + Assignees Assignees + Author struct{ ... } + Body string + Comments IssueComments + Labels IssueLabels + Number int + Reactions IssueReactions + Repository Repository + State string + Title string + UpdatedAt time.Time + Url string + func (data IssueData) GetNumber() int + func (data IssueData) GetRepoNameWithOwner() string + func (data IssueData) GetTitle() string + func (data IssueData) GetUpdatedAt() time.Time + func (data IssueData) GetUrl() string + type IssueLabels struct + Nodes []Label + type IssueReactions struct + TotalCount int + type IssuesResponse struct + Issues []IssueData + PageInfo PageInfo + TotalCount int + func FetchIssues(query string, limit int, pageInfo *PageInfo) (IssuesResponse, error) + type Label struct + Color string + Name string + type PRLabel struct + Color string + Name string + type PRLabels struct + Nodes []Label + type PageInfo struct + EndCursor string + HasNextPage bool + StartCursor string + type PullRequestData struct + Additions int + Assignees Assignees + Author struct{ ... } + BaseRefName string + Body string + Comments Comments + Commits Commits + Deletions int + HeadRef struct{ ... } + HeadRefName string + HeadRepository struct{ ... } + IsDraft bool + Labels PRLabels + LatestReviews Reviews + Mergeable string + Number int + Repository Repository + ReviewDecision string + ReviewThreads ReviewThreads + State string + Title string + UpdatedAt time.Time + Url string + func FetchPullRequest(prUrl string) (PullRequestData, error) + func (data PullRequestData) GetNumber() int + func (data PullRequestData) GetRepoNameWithOwner() string + func (data PullRequestData) GetTitle() string + func (data PullRequestData) GetUpdatedAt() time.Time + func (data PullRequestData) GetUrl() string + type PullRequestsResponse struct + PageInfo PageInfo + Prs []PullRequestData + TotalCount int + func FetchPullRequests(query string, limit int, pageInfo *PageInfo) (PullRequestsResponse, error) + type Repository struct + IsArchived bool + Name string + NameWithOwner string + type Review struct + Author struct{ ... } + Body string + State string + UpdatedAt time.Time + type ReviewComment struct + Author struct{ ... } + Body string + Line int + StartLine int + UpdatedAt time.Time + type ReviewComments struct + Nodes []ReviewComment + TotalCount int + type ReviewThreads struct + Nodes []struct{ ... } + type Reviews struct + Nodes []Review + type RowData interface + GetNumber func() int + GetRepoNameWithOwner func() string + GetTitle func() string + GetUpdatedAt func() time.Time + GetUrl func() string + type StatusContext struct + Context graphql.String + Creator struct{ ... } + State graphql.String