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

WIP: add user/message.go #4

Merged
merged 10 commits into from
Apr 3, 2020
Merged

WIP: add user/message.go #4

merged 10 commits into from
Apr 3, 2020

Conversation

dingdayu
Copy link
Member

I'm trying message.go but I have some trouble and want to set up a discussion.

@huan
Copy link
Member

huan commented Apr 3, 2020

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.

@huan huan requested a review from SilkageNet April 3, 2020 08:04
@huan
Copy link
Member

huan commented Apr 3, 2020

@SilkageNet Please help us by adding some comments to this PR.

This PR is related to #6 and #7

� Conflicts:
�	src/wechaty-puppet/schemas/image.go
�	src/wechaty-puppet/schemas/message.go
�	src/wechaty/user/contact.go
�	src/wechaty/user/image.go
"github.com/wechaty/go-wechaty/src/wechaty-puppet/schemas"
)

type Puppet interface {
type PuppetInterface interface {
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我的代码里,timestamp使用的int64,可以考虑一下统一成哪种?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Copy link
Contributor

@SilkageNet SilkageNet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@huan huan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@huan huan merged commit 9e4f6e6 into wechaty:master Apr 3, 2020
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

Successfully merging this pull request may close these issues.

3 participants