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

采用mixins的方式来实现puppet-whatsapp中的方法,并进行合理划分 #40

Closed
su-chang opened this issue Jan 11, 2022 · 1 comment
Assignees

Comments

@su-chang
Copy link
Member

目前 wechaty-puppet 中的抽象方法较多,都需要在 puppet-whatsapp 中进行继承实现。会造成该文件中的代码篇幅过长,且不易维护和阅读。

需要将不同分类的方法通过mixins的方式进行归类。

@hcfw007
Copy link
Member

hcfw007 commented Jan 12, 2022

确实,否则会导致 puppet-whatsapp,manager 这两个类特别大且重复很高

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

3 participants