check: populate the Result set
allowing the caller to display the results as desired Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
0898fd6d90
commit
b7724b906b
2 changed files with 19 additions and 12 deletions
|
@ -98,8 +98,10 @@ func main() {
|
|||
isErr = true
|
||||
return
|
||||
}
|
||||
if res != nil {
|
||||
fmt.Printf("%#v\n", res)
|
||||
if res != nil && len(res.Failures) > 0 {
|
||||
for _, failure := range res.Failures {
|
||||
fmt.Println(failure)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue