-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop direct dependency on golang.org/x/exp
According to https://github.com/grpc-ecosystem/go-grpc-middleware?tab=readme-ov-file#prerequisites, three latest versions are supported. Go 1.23 is out, so we can bump minimum required version to 1.21 and start using "slices" and "log/slog" from stdlib.
- Loading branch information
Showing
7 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
module github.com/grpc-ecosystem/go-grpc-middleware/interceptors/logging/examples | ||
|
||
go 1.19 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/go-kit/log v0.2.1 | ||
github.com/go-logr/logr v1.2.4 | ||
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0 | ||
github.com/phuslu/log v1.0.83 | ||
github.com/rs/zerolog v1.29.0 | ||
github.com/sirupsen/logrus v1.9.0 | ||
go.uber.org/zap v1.24.0 | ||
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 | ||
google.golang.org/grpc v1.53.0 | ||
google.golang.org/grpc v1.61.1 | ||
k8s.io/klog/v2 v2.90.1 | ||
) | ||
|
||
require ( | ||
github.com/go-logfmt/logfmt v0.5.1 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
golang.org/x/net v0.14.0 // indirect | ||
golang.org/x/sys v0.11.0 // indirect | ||
golang.org/x/text v0.12.0 // indirect | ||
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
golang.org/x/net v0.21.0 // indirect | ||
golang.org/x/sys v0.17.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9 // indirect | ||
google.golang.org/protobuf v1.32.0 // indirect | ||
) | ||
|
||
replace github.com/grpc-ecosystem/go-grpc-middleware/v2 => ../../../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters