chore: replace interface{} with any

This commit is contained in:
Vincent Bernat
2025-07-29 07:37:42 +02:00
parent 10dfefebb4
commit 18beb310ee
61 changed files with 315 additions and 315 deletions

View File

@@ -47,7 +47,7 @@ func (customHeaderBinding) Name() string {
}
// Bind will bind struct fields to HTTP headers using the configured mapping.
func (b customHeaderBinding) Bind(req *http.Request, obj interface{}) error {
func (b customHeaderBinding) Bind(req *http.Request, obj any) error {
value := reflect.ValueOf(obj).Elem()
tValue := reflect.TypeOf(obj).Elem()
if value.Kind() != reflect.Struct {