package
0.0.0-20200601021147-e1aa8c7e24af
Repository: https://github.com/hello2mao/go-common.git
Documentation: pkg.go.dev

# Functions

IgnoreUnset is an option that ignores fields that are unset on the right hand side of a comparison.
ObjectDiff prints the diff of two go objects and fails if the objects contain unhandled unexported fields.
ObjectGoPrintDiff prints the diff of two go objects and fails if the objects contain unhandled unexported fields.
ObjectGoPrintSideBySide prints a and b as textual dumps side by side, enabling easy visual scanning for mismatches.
ObjectReflectDiff prints the diff of two go objects and fails if the objects contain unhandled unexported fields.
StringDiff diffs a and b and returns a human readable diff.