fabric-samples/asset-transfer-private-data/chaincode-go
Mark S. Lewis 63cc77bdc3
Avoid usage of deprecated ioutil Go package (#843)
* Refactor Go files
1. replace deprecated ioutil functions (ioutil is deprecated since Go 1.16)
2. fix variable names that collide with imported package name
3. fix typos

Also update Go version specified by Go modules to ensure a Go version is used in which ioutil is deprecated and replacement functions are available in os and io packages.

Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Co-authored-by: Mark S. Lewis <mark_lewis@uk.ibm.com>

* Specify go 1.18 instead of go 1.19 in go.mod files

Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>

Signed-off-by: Tommy TIAN <xtianae@connect.ust.hk>
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
Co-authored-by: Tommy TIAN <xtianae@connect.ust.hk>
2022-10-25 07:04:39 -04:00
..
chaincode Update go chaincode samples 2022-10-18 15:28:20 -04:00
META-INF/statedb/couchdb/collections/assetCollection/indexes bugfix: asset type field name in couchdb index def 2020-10-12 16:27:17 -04:00
collections_config.json Initialize new private data asset transfer CC 2020-07-11 08:04:37 -04:00
go.mod Avoid usage of deprecated ioutil Go package (#843) 2022-10-25 07:04:39 -04:00
go.sum Update go chaincode samples 2022-10-18 15:28:20 -04:00
main.go Asset transfer private-data go-chaincode - Add unit tests (#290) 2020-08-25 10:04:03 -04:00
README.md go chaincode now sets the Asset owner as client identity certificate string (instead of base64 str) 2020-11-25 22:40:04 -05:00