Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议添加几个函数 #53

Open
Nyx2022 opened this issue Nov 10, 2024 · 0 comments
Open

建议添加几个函数 #53

Nyx2022 opened this issue Nov 10, 2024 · 0 comments

Comments

@Nyx2022
Copy link

Nyx2022 commented Nov 10, 2024

我感觉这个库跟另外一个库很类似,但是那个库已经很久没维护了,而且那个库和这个库一样,有好几个函数没有实现,导致我用起来不是很顺手,我看您好像还在维护这个库,所以希望您能实现
1、Keys() 返回所有的key
2、Vals() 返回所有的val
3、Clone() 生成一个当前map的所有元素的克隆
4、支持自定义marshal函数,因为golang自带的json确实很占资源。并且在UnmarshalJSON函数中支持自我初始化
4、Has 或 Contains 和 HasBy(func) 或 ContainsBy(func) 判断某个元素或某个元素的属性是否在map中

如果您能支持,我将非常感谢,并在所有函数支持之后迁移到这个库上来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant