From a56b3867863e877a35e1d15de5c4c78d323b41fa Mon Sep 17 00:00:00 2001 From: sfw Date: Fri, 4 Oct 2019 16:36:45 +0800 Subject: [PATCH] ch4-02 fix type --- ch4-rpc/ch4-02-pb-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch4-rpc/ch4-02-pb-intro.md b/ch4-rpc/ch4-02-pb-intro.md index 54351af..247c3cc 100644 --- a/ch4-rpc/ch4-02-pb-intro.md +++ b/ch4-rpc/ch4-02-pb-intro.md @@ -220,7 +220,7 @@ func main() { } ``` -为了避免对protoc-gen-go插件造成干扰,我们将我们的可执行程序命名为protoc-gen-go-netrpc,表示包含了nerpc插件。然后用以下命令重新编译hello.proto文件: +为了避免对protoc-gen-go插件造成干扰,我们将我们的可执行程序命名为protoc-gen-go-netrpc,表示包含了netrpc插件。然后用以下命令重新编译hello.proto文件: ``` $ protoc --go-netrpc_out=plugins=netrpc:. hello.proto