Documentation ¶
Index ¶
- func Diff(left interface{}, right interface{}, opts ...Option)
- type Diffeable
- type Event
- 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
- type Option
- type Path
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
func (*Event) ChangedKind ¶
func (*Event) Element ¶
Element picks the element based on the Event's Kind, if it's removed, the element is the "old" value, if it's added or changed, the element is the "new" value.
func (*Event) Match ¶
Match currently simply ensure that `pattern` parameter is the start of the path string which represents the direct access from top-level to struct.
func (*Event) RemovedKind ¶
Click to show internal directories.
Click to hide internal directories.