We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e35c9a commit 19ed85aCopy full SHA for 19ed85a
pkg/proto/summary.go
@@ -1,6 +1,19 @@
1
package proto
2
3
-type Summary struct {
4
- Negative string `json:"negative"`
5
- Positive string `json:"positive"`
6
-}
+type (
+ Summary struct {
+ Negative Section `json:"negative"`
+ 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