diff --git a/binding/validate.go b/binding/validate.go index 9dfc52a..e558e76 100644 --- a/binding/validate.go +++ b/binding/validate.go @@ -215,6 +215,8 @@ func checkBasicField(field reflect.StructField, vField reflect.Value) error { } vField.SetFloat(value) break + default: + logger.Error.Print("unhandled default case") } return nil }