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
James Taylor
0aa853e0c3
Update go chaincode samples
...
Update to the latest github.com/hyperledger/fabric-contract-api-go
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2022-10-18 15:28:20 -04:00
Mark S. Lewis
f151039f8a
Updates to asset-transfer-basic Gateway sample to align with docs ( #553 )
...
Also install goimports globally to run the linting check rather than installing to each gomodule, which was causing dependency conflicts.
Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
2021-12-09 10:20:52 +00:00
sapthasurendran
e963ddc726
lint Fix ( #555 )
...
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2021-12-09 09:44:25 +00:00
Matthew B White
3ba63b15d6
Update go.mod ( #500 )
...
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
2021-10-06 11:35:43 -04:00
sapthasurendran
56a1bf3e19
* Made consistent lint command ( #495 )
...
* Removed global install of lint modules
* Fixed Lint Issues
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added lint script forapplication javascript
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
updated lint command for chaincode javascript
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
updated lint script
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
remove installing dependencies
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added lint script to js projects
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added more lint scripts
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added more lint scripts
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added missing npm lint command
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added missing eslint npm module
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
Fix missing npm lint command
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added missing eslint npm module to auction-simple javascctipt app
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added eslint npm module
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added eslint dependency
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added eslint dependency
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
added eslint dependency
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
Single command for ts js lint
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
Fix or condition in lint.sh
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
2021-10-06 13:33:29 +01:00
denyeart
ee959a2eb0
Update to Go 1.16.7 ( #491 )
...
Update Go to 1.16.7 and run "go mod tidy"
to clean up go modules in samples.
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
2021-10-01 09:16:56 +01:00
nikhil550
1cd71fd26a
Add dutch auction sample with auditor ( #426 )
...
Signed-off-by: NIKHIL E GUPTA <ngupta@symbridge.com>
2021-05-24 22:01:54 +02:00