Versions in this module Expand all Collapse all v0 v0.0.2 Dec 30, 2023 Changes in this version + func Diff(left interface{}, right interface{}, opts ...Option) + type Diffeable interface + Diff func(right interface{}, options ...Option) + type Event struct + Kind Kind + New reflect.Value + Old reflect.Value + Path Path + func (p *Event) AddedKind() bool + func (p *Event) ChangedKind() bool + func (p *Event) Element() reflect.Value + func (p *Event) Match(pattern string) (match bool, matches []string) + func (p *Event) RawMatch(rawPattern string) (match bool, matches []string) + func (p *Event) RemovedKind() bool + func (p *Event) String() string + type Kind uint8 + const KindAdded + const KindChanged + const KindRemoved + func (k Kind) String() string + type Option interface + func CmpOption(cmpOption cmp.Option) Option + func OnEvent(callback func(Event)) Option + type Path cmp.Path + func (pa Path) SliceIndex() (int, bool) + func (pa Path) String() string