MCPcopy Index your code
hub / github.com/cnf/structhash / Hash

Function Hash

structhash.go:40–42  ·  view source on GitHub ↗

Hash takes a data structure and returns a hash string of that data structure at the version asked. This function uses md5 hashing function and default formatter. See also Dump() function.

(c interface{}, version int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

ExampleHashFunction · 0.85
ExampleHash_tagsFunction · 0.85
TestHashFunction · 0.85
TestUnexportedFieldsFunction · 0.85
TestInterfaceFieldFunction · 0.85

Calls 1

Md5Function · 0.85

Tested by 5

ExampleHashFunction · 0.68
ExampleHash_tagsFunction · 0.68
TestHashFunction · 0.68
TestUnexportedFieldsFunction · 0.68
TestInterfaceFieldFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…