fabric-samples/commercial-paper/organization/magnetocorp
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
..
application Add repolinter support 2021-04-23 15:35:20 -04:00
application-java Remove temporary buildfiles 2021-11-01 16:12:58 -04:00
configuration/cli Update test network docker compose network name (#423) 2021-02-20 10:26:04 +01:00
contract Add repolinter support 2021-04-23 15:35:20 -04:00
contract-go Avoid usage of deprecated ioutil Go package (#843) 2022-10-25 07:04:39 -04:00
contract-java Remove JCenter as a Gradle package repository (#589) 2022-01-26 16:29:09 -05:00
gateway Update Commercial Paper to v2.0 Lifecycle (#109) 2020-02-11 09:38:52 +00:00
.gitignore [FAB-15213] Update Commercial Paper for Java 2019-08-07 11:18:37 +01:00
magnetocorp.sh Fixed information leak 2021-04-19 11:50:02 -07:00
t.js Update Commercial Paper to v2.0 Lifecycle (#109) 2020-02-11 09:38:52 +00:00