MCPcopy Create free account
hub / github.com/corestoreio/pkg / diff

Function diff

util/assert/assertions.go:1497–1533  ·  view source on GitHub ↗

diff returns a diff of both values as long as both are of the same type and are a struct, map, slice, array or string. Otherwise it returns an empty string.

(expected interface{}, actual interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

EqualFunction · 0.85
EqualValuesFunction · 0.85

Calls 2

typeAndKindFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected