map增加toString

This commit is contained in:
2023-08-15 20:46:43 +08:00
parent 1a7414bb75
commit 0c8a013bdb
5 changed files with 46 additions and 0 deletions

View File

@@ -38,4 +38,6 @@ type EasyMap interface {
Iterator(IteratorFunc)
// ToStruct 转换成结构体
ToStruct(receiver interface{}) error
// ToString 转为字符串
ToString() string
}