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:58:07 +08:00
parent cec1bae073
commit a636f5daf2

View File

@ -124,7 +124,7 @@ func (p *KVStoreService) Set(kv [2]string, reply *struct{}) error {
}
```
在Set方法中输入参数是key和value组成的数组用一个匿名的空结构体表示忽略了返回值。当修改某个key对应的值时会调用每一个过滤器函数。
在Set方法中输入参数是key和value组成的数组用一个匿名的空结构体表示忽略了输出参数。当修改某个key对应的值时会调用每一个过滤器函数。
而过滤器列表在Watch方法中提供