From 034a886e80ddf8b3b66b04b23fbe3ae27ae23fc8 Mon Sep 17 00:00:00 2001 From: KyleSmith19091 Date: Tue, 17 Feb 2026 08:55:50 +0200 Subject: [PATCH 1/2] upgrade go version to 1.26 --- go.mod | 2 +- go.work | 10 +++++----- go/go.mod | 2 +- tool/protoc-gen-meshdoc/go.mod | 2 +- tool/protoc-gen-meshgo/go.mod | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 023d0edf..246f5711 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/meshtrade/api -go 1.24.3 +go 1.26.0 require ( github.com/meshtrade/api/go v0.0.0 diff --git a/go.work b/go.work index 42a9a3ce..eb61d94a 100644 --- a/go.work +++ b/go.work @@ -1,8 +1,8 @@ -go 1.24.3 +go 1.26.0 use ( - ./go - ./tool/protoc-gen-meshgo - ./tool/protoc-gen-meshdoc . -) \ No newline at end of file + ./go + ./tool/protoc-gen-meshdoc + ./tool/protoc-gen-meshgo +) diff --git a/go/go.mod b/go/go.mod index e0eed552..dc6dfa1a 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,6 +1,6 @@ module github.com/meshtrade/api/go -go 1.24.3 +go 1.26.0 require ( buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250717185734-6c6e0d3c608e.1 diff --git a/tool/protoc-gen-meshdoc/go.mod b/tool/protoc-gen-meshdoc/go.mod index c3742488..14fb9ff9 100644 --- a/tool/protoc-gen-meshdoc/go.mod +++ b/tool/protoc-gen-meshdoc/go.mod @@ -1,6 +1,6 @@ module github.com/meshtrade/api/tool/protoc-gen-meshdoc -go 1.24.3 +go 1.26.0 require ( buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250613105001-9f2d3c737feb.1 diff --git a/tool/protoc-gen-meshgo/go.mod b/tool/protoc-gen-meshgo/go.mod index d12e19f2..4ee17cc1 100644 --- a/tool/protoc-gen-meshgo/go.mod +++ b/tool/protoc-gen-meshgo/go.mod @@ -1,5 +1,5 @@ module github.com/meshtrade/api/tool/protoc-gen-meshgo -go 1.24.3 +go 1.26.0 require google.golang.org/protobuf v1.36.6 From b9acba928d72f766a89ca920f5f4a96be28dd689 Mon Sep 17 00:00:00 2001 From: KyleSmith19091 Date: Tue, 17 Feb 2026 09:28:55 +0200 Subject: [PATCH 2/2] fix broken test --- go/grpc/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/grpc/client_test.go b/go/grpc/client_test.go index f239d68d..32906fed 100644 --- a/go/grpc/client_test.go +++ b/go/grpc/client_test.go @@ -154,7 +154,7 @@ func TestValidateAuth(t *testing.T) { group: tt.group, } - err := client.validateAuth() + err := client.validateAuth(&config.BaseConfig{}) if (err != nil) != tt.wantErr { t.Errorf("validateAuth() error = %v, wantErr %v", err, tt.wantErr) }