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:
parent
cec1bae073
commit
a636f5daf2
@ -124,7 +124,7 @@ func (p *KVStoreService) Set(kv [2]string, reply *struct{}) error {
|
||||
}
|
||||
```
|
||||
|
||||
在Set方法中,输入参数是key和value组成的数组,用一个匿名的空结构体表示忽略了返回值。当修改某个key对应的值时会调用每一个过滤器函数。
|
||||
在Set方法中,输入参数是key和value组成的数组,用一个匿名的空结构体表示忽略了输出参数。当修改某个key对应的值时会调用每一个过滤器函数。
|
||||
|
||||
而过滤器列表在Watch方法中提供:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user