mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-22 08:25:38 +00:00
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