From 8ead62c0581d974ffcf908c4098c456ad53bbe9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Wed, 1 Feb 2023 20:35:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=8D=E5=B0=84=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E7=9A=84=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reflect.go | 1 + 1 file changed, 1 insertion(+) diff --git a/reflect.go b/reflect.go index aa11abe..4d0daee 100644 --- a/reflect.go +++ b/reflect.go @@ -79,6 +79,7 @@ func (rt *ReflectType) Do(dataFlag string, data interface{}) *StructInfo { rt.fillMappingRule(field, reflectType.Field(idx).Tag.Get(MappingTag)) res.StructFieldList = append(res.StructFieldList, field) } + rt.cacheTable[dataFlag] = res return res }