mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
merge master
This commit is contained in:
parent
56d8c3292d
commit
b9abed79b4
@ -186,7 +186,6 @@ func buildAnonymousFieldInfo(info *fieldInfo, lowerCaseName string, ft reflect.T
|
|||||||
|
|
||||||
func buildFieldsInfo(tp reflect.Type, fullName string, cache fieldCache) (*fieldInfo, error) {
|
func buildFieldsInfo(tp reflect.Type, fullName string, cache fieldCache) (*fieldInfo, error) {
|
||||||
tp = mapping.Deref(tp)
|
tp = mapping.Deref(tp)
|
||||||
|
|
||||||
if info, ok := cache[tp]; ok {
|
if info, ok := cache[tp]; ok {
|
||||||
return info, nil
|
return info, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user