MCPcopy
hub / github.com/yeasy/blockchain_guide / homeKey

Function homeKey

11_app_dev/chaincode_example05.go:314–316  ·  view source on GitHub ↗
(address string)

Source from the content-addressed store, hash-verified

312}
313
314func homeKey(address string) string {
315 return "home:" + address
316}
317
318func homeIDKey(id int) string {
319 return fmt.Sprintf("home:id:%d", id)

Callers 2

putHomeFunction · 0.85
readHomeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected