MCPcopy
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
417func companyKey(id int) string {
418 return fmt.Sprintf("company:%d", id)
419}
420
421func transactionKey(id int) string {
422 return fmt.Sprintf("transaction:%d", id)

Callers 4

CreateCompanyMethod · 0.85
IssueCoinToCompanyMethod · 0.85
TransferMethod · 0.85
readCompanyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected