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

Function homeIDKey

11_app_dev/chaincode_example05.go:318–320  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

316}
317
318func homeIDKey(id int) string {
319 return fmt.Sprintf("home:id:%d", id)
320}
321
322func energyTransactionKey(id int) string {
323 return fmt.Sprintf("energyTransaction:%d", id)

Callers 2

putHomeFunction · 0.85
readHomeByIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected