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