diff --git a/bridge b/bridge index 4d66348..7873388 100755 Binary files a/bridge and b/bridge differ diff --git a/internal/pkg/validation/validation.go b/internal/pkg/validation/validation.go index eebe460..19e33e8 100644 --- a/internal/pkg/validation/validation.go +++ b/internal/pkg/validation/validation.go @@ -10,7 +10,7 @@ import ( var defaultValidator = validator.New() // Struct validates s and returns the first validation error as a readable message, or nil. -func Struct(s interface{}) error { +func Struct(s any) error { err := defaultValidator.Struct(s) if err == nil { return nil @@ -23,7 +23,7 @@ func Struct(s interface{}) error { } // Var validates a single value with the given tag (e.g. "required") and returns an error or nil. -func Var(field interface{}, tag string) error { +func Var(field any, tag string) error { err := defaultValidator.Var(field, tag) if err == nil { return nil diff --git a/location b/location index fb58c88..b3da586 100755 Binary files a/location and b/location differ diff --git a/server b/server index 7819f4a..58645a7 100755 Binary files a/server and b/server differ