Skip to content

Commit 19ed85a

Browse files
authored
add: section struct
1 parent 7e35c9a commit 19ed85a

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

pkg/proto/summary.go

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
package proto
22

3-
type Summary struct {
4-
Negative string `json:"negative"`
5-
Positive string `json:"positive"`
6-
}
3+
type (
4+
Summary struct {
5+
Negative Section `json:"negative"`
6+
Positive Section `json:"positive"`
7+
}
8+
9+
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"`
18+
}
19+
)

0 commit comments

Comments
 (0)