Browse Source

in progress

0x4a52466c696e74 2 months ago
parent
commit
67e48b101b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      serialize.go

+ 2 - 1
serialize.go

@@ -236,9 +236,10 @@ func parseMap(from, to reflect.Value, fieldName string) IErrorArgs {
 func Serialize(from json.Map, to any) IErrorArgs {
 func Serialize(from json.Map, to any) IErrorArgs {
 	log.Println("serialize", to)
 	log.Println("serialize", to)
 	elemTo := reflect.ValueOf(to).Elem()
 	elemTo := reflect.ValueOf(to).Elem()
-	return parseType(
+	res := parseType(
 		reflect.ValueOf(&from),
 		reflect.ValueOf(&from),
 		elemTo,
 		elemTo,
 		"",
 		"",
 	)
 	)
+	log.Println("sres", res)
 }
 }