gojsondiff

package module
v0.0.0-...-7909319 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 5 Imported by: 0

README

gojsondiff

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffType

type DiffType int64
const (
	Add DiffType = iota
	Change
	Remove
)

func (DiffType) String

func (_this DiffType) String() string

type Differ

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

func New

func New(x []byte) (diff *Differ, err error)

func (*Differ) Compare

func (_this *Differ) Compare(y []byte) (recordSlice []Record, err error)

type Record

type Record struct {
	Typ DiffType
	Val interface{}
	Whe []interface{}
}

Jump to

Keyboard shortcuts

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