Skip to content

Commit 5665fb3

Browse files
committed
feat: change go version to 1.21
1 parent 6349b75 commit 5665fb3

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

examples/demo/go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module gorm.io/plugin/example
22

33
go 1.21
44

5-
toolchain go1.22.5
6-
75
replace gorm.io/plugin/opentelemetry => ./../..
86

97
require (
@@ -22,7 +20,7 @@ require (
2220
github.com/jinzhu/inflection v1.0.0 // indirect
2321
github.com/jinzhu/now v1.1.5 // indirect
2422
github.com/mattn/go-sqlite3 v1.14.16 // indirect
25-
github.com/sirupsen/logrus v1.9.2 // indirect
23+
github.com/sirupsen/logrus v1.9.3 // indirect
2624
go.opentelemetry.io/otel/metric v1.19.0 // indirect
2725
golang.org/x/sys v0.14.0 // indirect
2826
)

examples/demo/go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
1717
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1818
github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y=
1919
github.com/sirupsen/logrus v1.9.2/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
20+
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
2021
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
2122
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
2223
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=

examples/metric/metrics/go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module github.com/uptrace/opentelemetry-go-extra/example/prometheus/metrics
22

33
go 1.21
44

5-
toolchain go1.22.5
6-
75
require (
86
github.com/prometheus/client_golang v1.17.0
97
go.opentelemetry.io/contrib/instrumentation/runtime v0.44.0
@@ -31,7 +29,7 @@ require (
3129
github.com/prometheus/client_model v0.5.0 // indirect
3230
github.com/prometheus/common v0.44.0 // indirect
3331
github.com/prometheus/procfs v0.11.1 // indirect
34-
github.com/sirupsen/logrus v1.9.2 // indirect
32+
github.com/sirupsen/logrus v1.9.3 // indirect
3533
go.opentelemetry.io/otel/metric v1.19.0 // indirect
3634
golang.org/x/sys v0.14.0 // indirect
3735
google.golang.org/protobuf v1.31.0 // indirect

examples/metric/metrics/go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ github.com/prometheus/procfs v0.11.1 h1:xRC8Iq1yyca5ypa9n1EZnWZkt7dwcoRPQwX/5gwa
3636
github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/y0/p/ScXhY=
3737
github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y=
3838
github.com/sirupsen/logrus v1.9.2/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
39+
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
3940
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
4041
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
4142
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=

logging/logrus/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module gorm.io/plugin/opentelemetry/logging/logrus
22

3-
go 1.22.5
3+
go 1.21
44

55
require (
66
github.com/sirupsen/logrus v1.9.3

logging/slog/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module gorm.io/plugin/opentelemetry/logging/slog
22

3-
go 1.22.5
3+
go 1.21
44

55
require (
66
go.opentelemetry.io/otel v1.31.0

0 commit comments

Comments
 (0)