1
0
Fork 0
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:
Vincent Batts 2016-07-25 18:51:38 -04:00 committed by GitHub
commit b0c1606133

View file

@ -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