From a636f5daf25594cb581e48f827b004b6aab8e2cc Mon Sep 17 00:00:00 2001 From: sfw Date: Wed, 1 Aug 2018 23:58:07 +0800 Subject: [PATCH] fixed typos --- ch4-rpc/ch4-03-netrpc-hack.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch4-rpc/ch4-03-netrpc-hack.md b/ch4-rpc/ch4-03-netrpc-hack.md index 7c2e455..d72b10e 100644 --- a/ch4-rpc/ch4-03-netrpc-hack.md +++ b/ch4-rpc/ch4-03-netrpc-hack.md @@ -124,7 +124,7 @@ func (p *KVStoreService) Set(kv [2]string, reply *struct{}) error { } ``` -在Set方法中,输入参数是key和value组成的数组,用一个匿名的空结构体表示忽略了返回值。当修改某个key对应的值时会调用每一个过滤器函数。 +在Set方法中,输入参数是key和value组成的数组,用一个匿名的空结构体表示忽略了输出参数。当修改某个key对应的值时会调用每一个过滤器函数。 而过滤器列表在Watch方法中提供: