1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 12:32:21 +00:00

fixed typos

This commit is contained in:
sfw 2018-08-01 23:39:27 +08:00
parent cec1bae073
commit 6d0bdc9d60

View File

@ -4,7 +4,7 @@
## 客户端RPC的实现原理 ## 客户端RPC的实现原理
Go语言的RPC库最简单的方式是通过`Client.Call`方法进行同步阻塞调用,该方法的实现如下: Go语言的RPC库最简单的使用方式是通过`Client.Call`方法进行同步阻塞调用,该方法的实现如下:
```go ```go
func (client *Client) Call(serviceMethod string, args interface{}, reply interface{}) error { func (client *Client) Call(serviceMethod string, args interface{}, reply interface{}) error {