1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-06 11:37:06 +00:00

CI: minor: use the new exclude-paths (dependabot PR approved some days ago)

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-16 22:48:38 +03:00
parent a8a3afea22
commit 92164cee52
37 changed files with 268 additions and 266 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/kataras/iris/v12/context"
)
func valueOf(v interface{}) reflect.Value {
func valueOf(v any) reflect.Value {
if val, ok := v.(reflect.Value); ok {
// check if it's already a reflect.Value.
return val
@@ -124,7 +124,7 @@ func equalTypes(binding reflect.Type, input reflect.Type) bool {
return binding.AssignableTo(input)
}
// dependency: func(...) interface{} { return "string" }
// dependency: func(...) any { return "string" }
// expected input: string.
if binding.Kind() == reflect.Interface {
return input.AssignableTo(binding)