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

API 设计形式备忘录 #2

Open
guonaihong opened this issue Jun 8, 2022 · 1 comment
Open

API 设计形式备忘录 #2

guonaihong opened this issue Jun 8, 2022 · 1 comment

Comments

@guonaihong
Copy link
Collaborator

guonaihong commented Jun 8, 2022

统一API设计风格
对于集合或者有序集合, 需要满足如下的接口约束.
https://github.com/guonaihong/gstl/blob/master/api/api.go

@guonaihong
Copy link
Collaborator Author

guonaihong commented Jul 3, 2022

TODO: 需要定义一个接口, 空指针强转类型的方式检测.

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