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 { type Result struct {
// list of any failures in the Check // list of any failures in the Check
Failures []Failure `json:"failures"` Failures []Failure `json:"failures"`
Missing []Entry Missing []Entry `json:"missing,omitempty"`
Extra []Entry Extra []Entry `json:"extra,omitempty"`
} }
// Failure of a particular keyword for a path // Failure of a particular keyword for a path