comparator

package
v0.0.0-...-bd9d20a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparator

type Comparator struct {
	// contains filtered or unexported fields
}

func NewComparator

func NewComparator(refJSON gjson.Result) *Comparator

func NewComparatorFromFilePath

func NewComparatorFromFilePath(filePath string) (*Comparator, error)

func (*Comparator) Compare

func (c *Comparator) Compare(actualJSON []byte, toleranceKeys []string) error

type Comparison

type Comparison struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL