From df0b6c82bf8d677b27d5dc77a67f756d56219129 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Sun, 16 Feb 2025 12:34:13 +0000 Subject: [PATCH 1/2] chore!: bump go.mod to Go 1.23 and run go fix BREAKING CHANGE: Updating the Go version to 1.23 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 248c6dfc..1e191178 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/libp2p/go-libp2p-kad-dht -go 1.22.0 +go 1.23 retract v0.24.3 // this includes a breaking change and should have been released as v0.25.0 From a9dfde80b7020b975717eadaa3bac837e3eec5d1 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Sun, 16 Feb 2025 12:34:14 +0000 Subject: [PATCH 2/2] fix: stop using the deprecated io/ioutil package --- pb/dht.pb.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pb/dht.pb.go b/pb/dht.pb.go index 55766ccd..ba665ab0 100644 --- a/pb/dht.pb.go +++ b/pb/dht.pb.go @@ -7,11 +7,12 @@ package dht_pb import ( + reflect "reflect" + sync "sync" + pb "github.com/libp2p/go-libp2p-record/pb" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" ) const (