@@ -149,6 +149,7 @@ func fieldVal(val reflect.Value, fieldName string, files RequestFiles, names ...
}
if !field.IsValid() {
log.Println("invalid")
+ log.Printf("%T\n", val)
if f, check := val.Interface().(IFieldChecker); check {
log.Println("ifieldchecker")
if check := f.RestFieldCheck(fieldName); check {