# Functions
Diff generates a tree representing differences and similarities between two objects.
Ignore can be used in a WalkFn to ignore a non-matching diff.
IsExcess returns true if d represent value missing from the LHS (in a map or an array).
IsIgnore returns true if d is a diff created by NewIgnore.
IsMap returns true if d is a diff between towo maps.
IsMissing returns true if d represent value missing from the RHS (in a map or an array).
IsScalar returns true of d is a diff between two values that can be compared (int, float64, string, ...).
IsSlice returns true if d is a diff between towo slices.
IsStream returns true if d is a diff between towo slices.
IsTypes returns true if d is a diff between two values of different types that cannot be compared.
LHS returns the lhs value associated with the Differ.
Report generates a flat list of differences encountered in the diff tree.
RHS returns the rhs value associated with the Differ.
UseSliceMyers configures the Diff function to use Myers' algorithm for slices.
Walk allows to descend a diff tree and replace/edit its leaves and branches.
# Constants
ContentDiffer is used when the types matches but the content differs.
Identical is used when both the type and the content match.
Invalid is used when calling Diff() on an inproperly constructed node.
TypesDiffer is used when two values cannot be compared due to types differences (for example: comparing a slice to an int).
# Variables
ErrCyclic is returned when one of the compared values contain circular references.
# Structs
ErrLHSNotSupported is returned when calling diff.LHS on a Differ that does not contain an LHS value (i.e Ignore).
ErrRHSNotSupported is returned when calling diff.EHS on a Differ that does not contain an RHS value (i.e Ignore).
ErrUnsupported is returned when an unsupported type is encountered (func, struct ...).
No description provided by the author
Output is used to configure the output of the Strings and StringIndent functions.