Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Print ¶
func Print(t *tablewriter.Table, key string, A interface{}, B interface{})
Types ¶
type Comparison ¶
type Comparison struct {
// contains filtered or unexported fields
}
Comparison records the state of a comparison
func JSON ¶
func JSON(a []byte, b []byte, colorize bool) (Comparison, error)
JSON compares two json strings, processes them to handle wild cards, and returns the prettified JSON string
func (Comparison) Error ¶
func (c Comparison) Error() string
Error returns the formatter error string with context and error
func (Comparison) ShouldFailStep ¶
func (c Comparison) ShouldFailStep() bool
ShouldFailStep satisfies behavior of whether or not a step should fail
Click to show internal directories.
Click to hide internal directories.