feat: go 1.22 and slog migration (#557)
This change adds Go 1.22 as a build target and drops support for Go 1.20 and older. The golang.org/x/exp/slog import is migrated to log/slog. Slog has been part of the Go standard library since Go 1.21. Therefore we are dropping support for older Go versions. This is in line of our support policy of "the latest two Go versions".
This commit is contained in:
parent
38c025f7f8
commit
972b8981e5
26 changed files with 106 additions and 120 deletions
5
go.mod
5
go.mod
|
@ -1,6 +1,6 @@
|
|||
module github.com/zitadel/oidc/v3
|
||||
|
||||
go 1.19
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
github.com/bmatcuk/doublestar/v4 v4.6.1
|
||||
|
@ -16,11 +16,10 @@ require (
|
|||
github.com/rs/cors v1.10.1
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
github.com/stretchr/testify v1.8.4
|
||||
github.com/zitadel/logging v0.5.0
|
||||
github.com/zitadel/logging v0.6.0
|
||||
github.com/zitadel/schema v1.3.0
|
||||
go.opentelemetry.io/otel v1.24.0
|
||||
go.opentelemetry.io/otel/trace v1.24.0
|
||||
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
|
||||
golang.org/x/oauth2 v0.17.0
|
||||
golang.org/x/text v0.14.0
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue