Rewrite interface{} to any (#2535)
* chore: Rewrite interface{} to any
* Add ignore revs
This commit is contained in:
1 parent
ffdad31756
commit
f57454b6b9
298 files changed
+1758
-1756
No files matched your search
@@ -83,7 +83,7 @@ func Test_requestCtxInterceptor(t *testing.T) {
|
||||
|
||||
factoryCtx := context.Background()
|
||||
|
||||
returnCtxHandler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
returnCtxHandler := func(ctx context.Context, req any) (any, error) {
|
||||
return ctx, nil
|
||||
}
|
||||
|
||||
@@ -468,7 +468,7 @@ func Test_workerRequestInfoInterceptor(t *testing.T) {
|
||||
factoryCtx := context.Background()
|
||||
requestCtx := context.Background()
|
||||
|
||||
returnCtxHandler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
returnCtxHandler := func(ctx context.Context, req any) (any, error) {
|
||||
return ctx, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user