We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9898515 + 9297bf9 commit 430ac40Copy full SHA for 430ac40
gee-rpc/doc/geerpc-day1.md
@@ -56,7 +56,7 @@ type Header struct {
56
- Error 是错误信息,客户端置为空,服务端如果如果发生错误,将错误信息置于 Error 中。
57
58
59
-我们将和消息编解码相关的代码都防到 codec 子目录中,在此之前,还需要在根目录下使用 `go mod init geerpc` 初始化项目,方便后续子 package 之间的引用。
+我们将和消息编解码相关的代码都放到 codec 子目录中,在此之前,还需要在根目录下使用 `go mod init geerpc` 初始化项目,方便后续子 package 之间的引用。
60
61
进一步,抽象出对消息体进行编解码的接口 Codec,抽象出接口是为了实现不同的 Codec 实例:
62
@@ -439,4 +439,4 @@ reply: geerpc resp 4
439
## 附 推荐阅读
440
441
- [Go 语言简明教程](https://geektutu.com/post/quick-golang.html)
442
-- [Go 语言笔试面试题](https://geektutu.com/post/qa-golang.html)
+- [Go 语言笔试面试题](https://geektutu.com/post/qa-golang.html)
0 commit comments