Skip to content

Commit

Permalink
feat: change go version to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
zstone12 committed Oct 27, 2024
1 parent 6349b75 commit 5665fb3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions examples/demo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module gorm.io/plugin/example

go 1.21

toolchain go1.22.5

replace gorm.io/plugin/opentelemetry => ./../..

require (
Expand All @@ -22,7 +20,7 @@ require (
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-sqlite3 v1.14.16 // indirect
github.com/sirupsen/logrus v1.9.2 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
golang.org/x/sys v0.14.0 // indirect
)
1 change: 1 addition & 0 deletions examples/demo/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y=
github.com/sirupsen/logrus v1.9.2/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
Expand Down
4 changes: 1 addition & 3 deletions examples/metric/metrics/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/uptrace/opentelemetry-go-extra/example/prometheus/metrics

go 1.21

toolchain go1.22.5

require (
github.com/prometheus/client_golang v1.17.0
go.opentelemetry.io/contrib/instrumentation/runtime v0.44.0
Expand Down Expand Up @@ -31,7 +29,7 @@ require (
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/sirupsen/logrus v1.9.2 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
golang.org/x/sys v0.14.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
Expand Down
1 change: 1 addition & 0 deletions examples/metric/metrics/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ github.com/prometheus/procfs v0.11.1 h1:xRC8Iq1yyca5ypa9n1EZnWZkt7dwcoRPQwX/5gwa
github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/y0/p/ScXhY=
github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y=
github.com/sirupsen/logrus v1.9.2/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
Expand Down
2 changes: 1 addition & 1 deletion logging/logrus/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module gorm.io/plugin/opentelemetry/logging/logrus

go 1.22.5
go 1.21

require (
github.com/sirupsen/logrus v1.9.3
Expand Down
2 changes: 1 addition & 1 deletion logging/slog/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module gorm.io/plugin/opentelemetry/logging/slog

go 1.22.5
go 1.21

require (
go.opentelemetry.io/otel v1.31.0
Expand Down

0 comments on commit 5665fb3

Please sign in to comment.