Documentation
¶
Overview ¶
Package notify provides post-run notification integrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CovPayload ¶
type CovPayload struct {
Tool string `json:"tool"`
Timestamp string `json:"timestamp"`
LinesPct float64 `json:"lines_pct"`
LinesCov int `json:"lines_covered"`
LinesTotal int `json:"lines_total"`
BranchPct float64 `json:"branch_pct,omitempty"`
FuncPct float64 `json:"func_pct,omitempty"`
FileCount int `json:"file_count"`
}
CovPayload is the JSON body sent after a coverage run.
type TestPayload ¶
type TestPayload struct {
Tool string `json:"tool"`
Timestamp string `json:"timestamp"`
Total int `json:"total"`
Passed int `json:"passed"`
Failed int `json:"failed"`
Skipped int `json:"skipped"`
PassPct float64 `json:"pass_pct"`
}
TestPayload is the JSON body sent after a test run.
Click to show internal directories.
Click to hide internal directories.