Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrHistogramData ¶
type PrHistogramData struct {
Bucket time.Time `json:"bucket"`
PrCount int `json:"prs_count"`
AcceptedPrs int `json:"accepted_prs"`
OpenPrs int `json:"open_prs"`
ClosedPrs int `json:"closed_prs"`
DraftPrs int `json:"draft_prs"`
ActivePrs int `json:"active_prs"`
SpamPrs int `json:"spam_prs"`
PRVelocity int `json:"pr_velocity"`
CollaboratorAssociatedPrs int `json:"collaborator_associated_prs"`
ContributorAssociatedPrs int `json:"contributor_associated_prs"`
MemberAssociatedPrs int `json:"member_associated_prs"`
NonAssociatedPrs int `json:"non_associated_prs"`
OwnerAssociatedPrs int `json:"owner_associated_prs"`
CommentsOnPrs int `json:"comments_on_prs"`
ReviewCommentsOnPrs int `json:"review_comments_on_prs"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is used to access the API "v2/histogram" endpoints and services
func NewHistogramService ¶
NewHistogramService returns a new histogram Service
func (*Service) PrsHistogram ¶
func (s *Service) PrsHistogram(repo string, rangeVal int) ([]PrHistogramData, *http.Response, error)
PrsHistogram calls the "v2/histogram/pull-requests" endpoints
Click to show internal directories.
Click to hide internal directories.