You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-161
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Wechaty is used in many ChatBot projects by thousands of developers. If you want
42
42
43
43
Scan now, because other Wechaty Go developers want to talk with you too! (secret code: _go wechaty_)
44
44
45
-
## The World's Shortest Go ChatBot: 7 lines of Code
45
+
## Usage
46
46
47
47
```go
48
48
package main
@@ -68,168 +68,9 @@ func main() {
68
68
}
69
69
```
70
70
71
-
## Go Wechaty Developing Plan
72
-
73
-
We already have Wechaty in TypeScript, It will be not too hard to translate the TypeScript(TS) to Go because [wechaty](https://github.com/wechaty/wechaty) has only 3,000 lines of the TS code, they are well designed and de-coupled by the [wechaty-puppet](https://github.com/wechaty/wechaty-puppet/) abstraction. So after we have translated those 3,000 lines of TypeScript code, we will almost be done.
74
-
75
-
As we have already a ecosystem of Wechaty in TypeScript, so we will not have to implement everything in Go, especially, in the Feb 2020, we have finished the [@chatie/grpc](https://github.com/chatie/grpc) service abstracting module with the [wechaty-puppet-service](https://github.com/wechaty/wechaty-puppet-service) implmentation.
76
-
77
-
The following diagram shows out that we can reuse almost everything in TypeScript, and what we need to do is only the block located at the top right of the diagram: `Wechaty (Go)`.
If you are interested in the translation and want to look at how it works, it will be a good start from reading and comparing those two `Image` class files in TypeScript and Go at the same time.
0 commit comments