0x4a52466c696e74 4 mesiacov pred
rodič
commit
3e29bb75da
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      fielder.go

+ 2 - 0
fielder.go

@@ -148,7 +148,9 @@ func fieldVal(val reflect.Value, fieldName string, files RequestFiles, names ...
 				}
 			}
 			if !field.IsValid() {
+				log.Println("invalid")
 				if f, check := val.Interface().(IFieldChecker); check {
+					log.Println("ifieldchecker")
 					if check := f.RestFieldCheck(fieldName); check {
 						return true
 					}