mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 04:22:22 +00:00
Update ch4-05-grpc-hack.md
Append word modification
This commit is contained in:
parent
5ef2ab0139
commit
b396f5bc46
@ -293,7 +293,7 @@ func filter(ctx context.Context,
|
|||||||
req interface{}, info *grpc.UnaryServerInfo,
|
req interface{}, info *grpc.UnaryServerInfo,
|
||||||
handler grpc.UnaryHandler,
|
handler grpc.UnaryHandler,
|
||||||
) (resp interface{}, err error) {
|
) (resp interface{}, err error) {
|
||||||
log.Println("fileter:", info)
|
log.Println("filter:", info)
|
||||||
return handler(ctx, req)
|
return handler(ctx, req)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user