fix: cycle import

This commit is contained in:
zhangdeman committed 2025-10-13 17:36:21 +08:00
1 parent e826fec633
commit e162029506
1 file changed
-8
-8
View File
@@ -13,7 +13,6 @@ import (
"git.zhangdeman.cn/zhangdeman/consts"
"git.zhangdeman.cn/zhangdeman/serialize"
"git.zhangdeman.cn/zhangdeman/wrapper/op_map"
)
// AnyDataType ...
@@ -87,13 +86,6 @@ func (at *AnyType) ToString() string {
return ""
case consts.DataTypeString:
return fmt.Sprintf("%v", at.data)
case consts.DataTypeSliceAny:
var val []any
_ = serialize.JSON.Transition(at.data, &val)
return serialize.JSON.MarshalForStringIgnoreError(val)
case consts.DataTypeMapAnyAny:
easyMap := op_map.EasyMap(at.data)
return easyMap.ToString()
case consts.DataTypeInt:
fallthrough
case consts.DataTypeUint:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.