Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
PrNumber int `json:"pr_number"`
Repository string `json:"repository"`
MergedAt time.Time `json:"merged_at"`
TimeToMergeSeconds float64 `json:"time_to_merge_seconds"`
BranchAgeSeconds float64 `json:"branch_age_seconds"`
LinesAdded int `json:"lines_added"`
LinesRemoved int `json:"lines_removed"`
FilesChanged int `json:"files_changed"`
CommitsCount int `json:"commits_count"`
CommentsCount int `json:"comments_count"`
AuthorId string `json:"author_id"`
AuthorName string `json:"author_name"`
AuthorTeams []string `json:"author_teams"`
CommitsByType map[string]int `json:"commits_by_type"`
FilesAddedByExtension map[string]int `json:"files_added_by_extension"`
FilesModifiedByExtension map[string]int `json:"files_modified_by_extension"`
JavaTestFilesModified int `json:"java_test_files_modified"`
JavaTestsAdded int `json:"java_tests_added"`
GoTestFilesModified int `json:"go_test_files_modified"`
GoTestsAdded int `json:"go_tests_added"`
TimeToApproveSeconds float64 `json:"time_to_approve_seconds"`
ApproverId string `json:"approver_id"`
ApproverName string `json:"approver_name"`
ApproverTeams []string `json:"approver_teams"`
CrossTeam bool `json:"cross_team"`
DismissReviewCount int `json:"dismiss_review_count"`
ChangesRequestedCount int `json:"changes_requested_count"`
}
Click to show internal directories.
Click to hide internal directories.