Documentation ¶
Overview ¶
Package diff compares two values and returns the changes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Differ ¶
type Differ interface { // Diff computes the diff between old and new changes.Value // // The provided differ is meant to be used for any children or // inner values whose specific types may not be known to a // particular differ. Diff(d Differ, old, new changes.Value) changes.Change }
Differ is the general Diff interface for computing changes in values as a changes.Change (which when applied to the old value is guaranteed to result in the new value)
Click to show internal directories.
Click to hide internal directories.