Merge pull request #37 from vbatts/no_null_json
check: omitempty rather than `null`
This commit is contained in:
commit
b0c1606133
1 changed files with 2 additions and 2 deletions
4
check.go
4
check.go
|
@ -11,8 +11,8 @@ import (
|
|||
type Result struct {
|
||||
// list of any failures in the Check
|
||||
Failures []Failure `json:"failures"`
|
||||
Missing []Entry
|
||||
Extra []Entry
|
||||
Missing []Entry `json:"missing,omitempty"`
|
||||
Extra []Entry `json:"extra,omitempty"`
|
||||
}
|
||||
|
||||
// Failure of a particular keyword for a path
|
||||
|
|
Loading…
Reference in a new issue