fix: cycle import
This commit is contained in:
@ -13,7 +13,6 @@ import (
|
||||
|
||||
"git.zhangdeman.cn/zhangdeman/consts"
|
||||
"git.zhangdeman.cn/zhangdeman/serialize"
|
||||
"git.zhangdeman.cn/zhangdeman/wrapper/op_array"
|
||||
"git.zhangdeman.cn/zhangdeman/wrapper/op_map"
|
||||
)
|
||||
|
||||
@ -91,7 +90,7 @@ func (at *AnyType) ToString() string {
|
||||
case consts.DataTypeSliceAny:
|
||||
var val []any
|
||||
_ = serialize.JSON.Transition(at.data, &val)
|
||||
return op_array.ToString(*op_array.ArrayType[any](val)).Value
|
||||
return serialize.JSON.MarshalForStringIgnoreError(val)
|
||||
case consts.DataTypeMapAnyAny:
|
||||
easyMap := op_map.EasyMap(at.data)
|
||||
return easyMap.ToString()
|
||||
|
Reference in New Issue
Block a user