支持toStruct

This commit is contained in:
2023-08-10 15:48:46 +08:00
parent e437ba87af
commit 033f6861d5
8 changed files with 123 additions and 28 deletions

View File

@@ -36,4 +36,6 @@ type EasyMap interface {
GetAllForMapKeyString() map[string]interface{}
// Iterator 对数据的迭代
Iterator(IteratorFunc)
// ToStruct 转换成结构体
ToStruct(receiver interface{}) error
}