package
Version:
v0.0.0-...-229b4da
Opens a new window with list of versions in this module.
Published: Jul 31, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CompareJsonHelper(a interface{}, b interface{}, pathContext []string, diffs *JsonDiff)
type JsonDiff struct {
Changes []*Node
}
func CompareJson(a interface{}, b interface{}) *JsonDiff
const (
KindAdd Kind = "KindAdd"
KindRemove Kind = "KindRemove"
KindChange Kind = "KindChange"
KindSame Kind = "KindSame"
)
type Node struct {
Kind Kind
Path []string
Old interface{}
New interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.