Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
func JSON(results []*comparer.Result, includePassing bool, tweaks []*config.QueryTweak)
JSON produces JSON-based output for a number of query results.
Types ¶
type JSONResult ¶
type JSONResult struct { TotalResults int `json:"totalResults"` Results []*comparer.Result `json:"results,omitempty"` IncludePassing bool `json:"includePassing"` QueryTweaks []*config.QueryTweak `json:"queryTweaks,omitempty"` }
JSONResult is the JSON output format.
Click to show internal directories.
Click to hide internal directories.