1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -72,7 +72,7 @@ func TestGetBindingsForFunc(t *testing.T) {
}
var tests = []struct {
Func interface{}
Func any
Expected []*binding
}{
{ // 0
@@ -368,7 +368,7 @@ func TestBindingsForStruct(t *testing.T) {
}
var depsInterfaces = []*Dependency{
NewDependency(func(ctx *context.Context) interface{} {
NewDependency(func(ctx *context.Context) any {
return "name"
}),
}
@@ -383,7 +383,7 @@ func TestBindingsForStruct(t *testing.T) {
}
var tests = []struct {
Value interface{}
Value any
Registered []*Dependency
Expected []*binding
}{
@@ -492,7 +492,7 @@ func TestBindingsForStruct(t *testing.T) {
},
},
},
// 10. test bind an interface{}.
// 10. test bind an any.
{
Value: &controller{},
Registered: depsInterfaces,