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

+ 1 - 0
fielder.go

@@ -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 {