1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-23 20:02:22 +00:00

ch4-02 fix type

This commit is contained in:
sfw 2019-10-04 16:36:45 +08:00
parent 85d39e6df7
commit a56b386786

View File

@ -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