Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version value is set by ldflags Version string //nolint // Name is cli command name Name = "leadtime" //nolint )
View Source
var (
ErrMultipleOutputFlag = errors.New("multiple output flags are specified at once")
)
Functions ¶
Types ¶
type DetailLeadTimeStat ¶ added in v0.0.4
type DetailLeadTimeStat struct { LeadTimeStatistics *LeadTimeStat `json:"lead_time_statistics,omitempty"` PullRequests []*usecase.PullRequest `json:"pull_requests,omitempty"` }
type LeadTimeStat ¶ added in v0.0.4
type LeadTimeStat struct { TotalPR int `json:"total_pr,omitempty"` LeadTimeMaximum int `json:"lead_time_maximum,omitempty"` LeadTimeMinimum int `json:"lead_time_minimum,omitempty"` LeadTimeSummation int `json:"lead_time_summation,omitempty"` LeadTimeAverage float64 `json:"lead_time_average,omitempty"` LeadTimeMedian float64 `json:"lead_time_median,omitempty"` }
LeadTimeStat is Lead time statistics.
Click to show internal directories.
Click to hide internal directories.