-
Notifications
You must be signed in to change notification settings - Fork 92
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
WIP: add user/message.go #4
Conversation
Signed-off-by: dingdayu <[email protected]>
- add CacheMessagePayload to Puppet struct - add golang-lru require to go.mod Signed-off-by: dingdayu <[email protected]>
Signed-off-by: dingdayu <[email protected]>
Signed-off-by: dingdayu <[email protected]>
Signed-off-by: dingdayu <[email protected]>
Signed-off-by: dingdayu <[email protected]>
Thanks for your great questions, they are very insightful and valuable! For better discussion, I have split those three questions into different issues because the PR will be closed and the code reviews will become outdated when we push more code to the PR. The discussions have been created as #6 (naming style for go) and #7 (accessory questions) About the Go implementation of the abstract class, I'm not very familiar with the Go specifications, so I'm studying that right now. I Will let you know when I got any ideas about it. |
@SilkageNet Please help us by adding some comments to this PR. |
� Conflicts: � src/wechaty-puppet/schemas/image.go � src/wechaty-puppet/schemas/message.go � src/wechaty/user/contact.go � src/wechaty/user/image.go
Signed-off-by: dingdayu <[email protected]>
Signed-off-by: dingdayu <[email protected]>
"github.com/wechaty/go-wechaty/src/wechaty-puppet/schemas" | ||
) | ||
|
||
type Puppet interface { | ||
type PuppetInterface interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about IPuppet?
|
||
FileName string | ||
Text string | ||
Timestamp int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我的代码里,timestamp使用的int64,可以考虑一下统一成哪种?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align with our GRPC service: uint64
.
See:
Thank you very much.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
Signed-off-by: dingdayu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm trying message.go but I have some trouble and want to set up a discussion.