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

Merge pull request #222 from fuwensun/pr4-3-3a

fixed typos
This commit is contained in:
chai2010 2018-08-02 06:38:16 +08:00 committed by GitHub
commit 7c1222448f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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方法中提供