Documentation
¶
Index ¶
- type Actor
- type Client
- type CommentsConnection
- type Commit
- type GQLComment
- type GQLIssueComment
- type IssueCommentsConnection
- type IssueCommentsResponse
- type PageInfo
- type PullRequestIssueComments
- type PullRequestReviewThreads
- type RepositoryIssueComments
- type RepositoryReviewThreads
- type ReviewThreadNode
- type ReviewThreadsConnection
- type ReviewThreadsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchIssueComments ¶
func (*Client) FetchReviewThreads ¶
type CommentsConnection ¶
type CommentsConnection struct {
Nodes []GQLComment `json:"nodes"`
}
type GQLComment ¶
type GQLComment struct {
ID string `json:"id"`
DatabaseID int `json:"databaseId"`
Body string `json:"body"`
Author Actor `json:"author"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
URL string `json:"url"`
DiffHunk string `json:"diffHunk"`
Commit Commit `json:"commit"`
State string `json:"state"`
Outdated bool `json:"outdated"`
}
type GQLIssueComment ¶
type GQLIssueComment struct {
ID string `json:"id"`
DatabaseID int `json:"databaseId"`
Body string `json:"body"`
Author Actor `json:"author"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
URL string `json:"url"`
IsMinimized bool `json:"isMinimized"`
MinimizedReason string `json:"minimizedReason"`
}
type IssueCommentsConnection ¶
type IssueCommentsConnection struct {
PageInfo PageInfo `json:"pageInfo"`
Nodes []GQLIssueComment `json:"nodes"`
}
type IssueCommentsResponse ¶
type IssueCommentsResponse struct {
Repository RepositoryIssueComments `json:"repository"`
}
type PullRequestIssueComments ¶
type PullRequestIssueComments struct {
Comments IssueCommentsConnection `json:"comments"`
}
type PullRequestReviewThreads ¶
type PullRequestReviewThreads struct {
ReviewThreads ReviewThreadsConnection `json:"reviewThreads"`
}
type RepositoryIssueComments ¶
type RepositoryIssueComments struct {
PullRequest PullRequestIssueComments `json:"pullRequest"`
}
type RepositoryReviewThreads ¶
type RepositoryReviewThreads struct {
PullRequest PullRequestReviewThreads `json:"pullRequest"`
}
type ReviewThreadNode ¶
type ReviewThreadNode struct {
IsResolved bool `json:"isResolved"`
IsOutdated bool `json:"isOutdated"`
ResolvedBy *Actor `json:"resolvedBy"`
Path string `json:"path"`
Line int `json:"line"`
StartLine int `json:"startLine"`
DiffSide string `json:"diffSide"`
Comments CommentsConnection `json:"comments"`
}
type ReviewThreadsConnection ¶
type ReviewThreadsConnection struct {
PageInfo PageInfo `json:"pageInfo"`
Nodes []ReviewThreadNode `json:"nodes"`
}
type ReviewThreadsResponse ¶
type ReviewThreadsResponse struct {
Repository RepositoryReviewThreads `json:"repository"`
}
Click to show internal directories.
Click to hide internal directories.