Skip to content

Commit efcdfc7

Browse files
author
ehsan
committed
Update dependencies and migrate to Go 1.24.0
Upgraded various module dependencies for compatibility, bug fixes, and feature improvements. Updated Go version to 1.24.0 and added utility function `Any` for logging enhancements.
1 parent e17a218 commit efcdfc7

5 files changed

Lines changed: 124 additions & 164 deletions

File tree

caster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import (
77
)
88

99
type TestStruct struct {
10-
A int `json:"a"`
10+
A int `json:"a"`
1111
B string `json:"b"`
1212
}
1313

1414
type TestStruct2 struct {
1515
A string `json:"b"`
16-
B int `json:"a"`
16+
B int `json:"a"`
1717
}
1818

1919
func TestCaster(t *testing.T) {

go.mod

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
module github.com/clubpay/qlubkit-go
22

3-
go 1.23.0
3+
go 1.24.0
44

55
toolchain go1.24.4
66

77
require (
8-
github.com/DataDog/datadog-api-client-go/v2 v2.35.0
9-
github.com/dgraph-io/ristretto/v2 v2.2.0
10-
github.com/getsentry/sentry-go v0.34.1
11-
github.com/prometheus/client_golang v1.22.0
12-
github.com/prometheus/common v0.65.0
13-
github.com/redis/go-redis/v9 v9.12.1
14-
github.com/segmentio/kafka-go v0.4.48
8+
github.com/DataDog/datadog-api-client-go/v2 v2.52.0
9+
github.com/dgraph-io/ristretto/v2 v2.3.0
10+
github.com/getsentry/sentry-go v0.40.0
11+
github.com/prometheus/client_golang v1.23.2
12+
github.com/prometheus/common v0.67.5
13+
github.com/redis/go-redis/v9 v9.17.2
14+
github.com/segmentio/kafka-go v0.4.49
1515
github.com/smartystreets/goconvey v1.8.1
16-
github.com/stretchr/testify v1.10.0
17-
go.opentelemetry.io/otel v1.37.0
18-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.37.0
19-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.37.0
20-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.37.0
21-
go.opentelemetry.io/otel/exporters/prometheus v0.56.0
22-
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.37.0
23-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.37.0
24-
go.opentelemetry.io/otel/metric v1.37.0
25-
go.opentelemetry.io/otel/sdk v1.37.0
26-
go.opentelemetry.io/otel/sdk/metric v1.37.0
27-
go.opentelemetry.io/otel/trace v1.37.0
28-
go.uber.org/zap v1.27.0
29-
golang.org/x/sync v0.16.0
16+
github.com/stretchr/testify v1.11.1
17+
go.opentelemetry.io/otel v1.39.0
18+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0
19+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.39.0
20+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0
21+
go.opentelemetry.io/otel/exporters/prometheus v0.61.0
22+
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.39.0
23+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.39.0
24+
go.opentelemetry.io/otel/metric v1.39.0
25+
go.opentelemetry.io/otel/sdk v1.39.0
26+
go.opentelemetry.io/otel/sdk/metric v1.39.0
27+
go.opentelemetry.io/otel/trace v1.39.0
28+
go.uber.org/zap v1.27.1
29+
golang.org/x/sync v0.19.0
3030
gopkg.in/natefinch/lumberjack.v2 v2.2.1
3131
)
3232

3333
require (
3434
github.com/DataDog/zstd v1.5.2 // indirect
3535
github.com/beorn7/perks v1.0.1 // indirect
36-
github.com/cenkalti/backoff/v5 v5.0.2 // indirect
36+
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
3737
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3838
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3939
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
@@ -43,25 +43,27 @@ require (
4343
github.com/goccy/go-json v0.10.5 // indirect
4444
github.com/google/uuid v1.6.0 // indirect
4545
github.com/gopherjs/gopherjs v1.17.2 // indirect
46-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
46+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.4 // indirect
4747
github.com/jtolds/gls v4.20.0+incompatible // indirect
48-
github.com/klauspost/compress v1.18.0 // indirect
48+
github.com/klauspost/compress v1.18.2 // indirect
4949
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
50-
github.com/pierrec/lz4/v4 v4.1.22 // indirect
50+
github.com/pierrec/lz4/v4 v4.1.23 // indirect
5151
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5252
github.com/prometheus/client_model v0.6.2 // indirect
53-
github.com/prometheus/procfs v0.17.0 // indirect
53+
github.com/prometheus/otlptranslator v1.0.0 // indirect
54+
github.com/prometheus/procfs v0.19.2 // indirect
5455
github.com/smarty/assertions v1.15.0 // indirect
55-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
56-
go.opentelemetry.io/proto/otlp v1.7.0 // indirect
56+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
57+
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
5758
go.uber.org/multierr v1.11.0 // indirect
58-
golang.org/x/net v0.41.0 // indirect
59-
golang.org/x/oauth2 v0.30.0 // indirect
60-
golang.org/x/sys v0.34.0 // indirect
61-
golang.org/x/text v0.26.0 // indirect
62-
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
63-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
64-
google.golang.org/grpc v1.73.0 // indirect
65-
google.golang.org/protobuf v1.36.6 // indirect
59+
go.yaml.in/yaml/v2 v2.4.3 // indirect
60+
golang.org/x/net v0.48.0 // indirect
61+
golang.org/x/oauth2 v0.34.0 // indirect
62+
golang.org/x/sys v0.40.0 // indirect
63+
golang.org/x/text v0.32.0 // indirect
64+
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b // indirect
65+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b // indirect
66+
google.golang.org/grpc v1.78.0 // indirect
67+
google.golang.org/protobuf v1.36.11 // indirect
6668
gopkg.in/yaml.v3 v3.0.1 // indirect
6769
)

0 commit comments

Comments
 (0)