Documentation
¶
Index ¶
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 NewClient ¶
func NewClient(cfg *config.GitHubConfig) *Client
type PrData ¶
type PrData struct {
Number int
Title string
State string // e.g., "open", "closed", "merged"
Author string
CreatedAt time.Time
MergedAt *time.Time // Pointer as it can be nil if not merged
ClosedAt *time.Time // Pointer as it can be nil if not closed
Additions int
Deletions int
ChangedFiles int
FirstReviewedAt *time.Time // Timestamp of the first review
Labels []string // Labels applied to the PR
}
PrData represents simplified pull request information
Click to show internal directories.
Click to hide internal directories.