feature/upgrade_dynamic_struct #9

Merged
zhangdeman merged 9 commits from feature/upgrade_dynamic_struct into master 2025-03-21 18:27:12 +08:00
Showing only changes of commit bbf5184314 - Show all commits

View File

@ -24,6 +24,7 @@ func NewMap2DynamicStruct(mapData map[string]any, tagTable map[string]string) *D
func NewDynamic() *DynamicStruct { func NewDynamic() *DynamicStruct {
return &DynamicStruct{ return &DynamicStruct{
structFieldList: make([]reflect.StructField, 0), structFieldList: make([]reflect.StructField, 0),
mapData: make(map[string]any),
} }
} }