Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yeasy/blockchain_guide
/ bankKey
Function
bankKey
11_app_dev/chaincode_example03.go:413–415 ·
view source on GitHub ↗
(id int)
Source
from the content-addressed store, hash-verified
411
}
412
413
func
bankKey(id int) string {
414
return
fmt.Sprintf(
"bank:%d"
, id)
415
}
416
417
func
companyKey(id int) string {
418
return
fmt.Sprintf(
"company:%d"
, id)
Callers
4
CreateBank
Method · 0.85
IssueCoinToBank
Method · 0.85
IssueCoinToCompany
Method · 0.85
readBank
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected