Skip to content

Commit c417b0a

Browse files
authored
Update summary.go
1 parent 19ed85a commit c417b0a

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

pkg/proto/summary.go

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,24 @@ type (
77
}
88

99
Section struct {
10-
Score int `json:"score"`
11-
Total int `json:"total_sent"`
12-
Resolved int `json:"resolved_tests"`
13-
Blocked int `json:"blocked_tests"`
14-
Bypassed int `json:"bypassed_tests"`
15-
Unresolved int `json:"unresolved_tests"`
16-
Failed int `json:"failed_tests"`
17-
Tests string `json:"test_sets"`
10+
Score int `json:"score"`
11+
Total int `json:"total_sent"`
12+
Resolved int `json:"resolved_tests"`
13+
Blocked int `json:"blocked_tests"`
14+
Bypassed int `json:"bypassed_tests"`
15+
Unresolved int `json:"unresolved_tests"`
16+
Failed int `json:"failed_tests"`
17+
Tests map[string]Set `json:"test_sets"`
18+
}
19+
20+
Set map[string]Item
21+
22+
Item struct {
23+
Percentage float64 `json:"percentage"`
24+
Sent int `json:"sent"`
25+
Blocked int `json:"blocked"`
26+
Bypassed int `json:"bypassed`
27+
Unresolved int `json:"unresolved"`
28+
Failed int `json:"failed"`
1829
}
1930
)

0 commit comments

Comments
 (0)