Skip to content

Commit

Permalink
Use full go version in go.mod (#725)
Browse files Browse the repository at this point in the history
From Go 1.21, in the absence of a toolchain line in the go.mod file, the
go line is used as the minimum toolchain version. Toolchain versions
must be a full Go version, including patch level.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
  • Loading branch information
bestbeforetoday authored Jul 1, 2024
1 parent 0724745 commit 798c6ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hyperledger/fabric-gateway

go 1.21
go 1.21.0

require (
github.com/cucumber/godog v0.14.0
Expand Down
2 changes: 1 addition & 1 deletion scenario/fixtures/chaincode/golang/basic/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hyperledger/fabric-gateway/scenario/fixtures/chaincode/go/basic

go 1.21
go 1.21.0

require github.com/hyperledger/fabric-contract-api-go v1.2.2

Expand Down
2 changes: 1 addition & 1 deletion scenario/fixtures/chaincode/golang/private/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hyperledger/fabric-gateway/scenario/fixtures/chaincode/go/private

go 1.21
go 1.21.0

require (
github.com/hyperledger/fabric-chaincode-go v0.0.0-20240124143825-7dec3c7e7d45
Expand Down

0 comments on commit 798c6ef

Please sign in to comment.