Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
318
func
homeIDKey(id int) string {
319
return
fmt.Sprintf(
"home:id:%d"
, id)
320
}
321
322
func
energyTransactionKey(id int) string {
323
return
fmt.Sprintf(
"energyTransaction:%d"
, id)
Callers
2
putHome
Function · 0.85
readHomeByID
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected