mirror of https://github.com/grpc/grpc-go.git
Update gomock-example.md
This commit is contained in:
parent
e6b4662278
commit
5202729e3a
|
|
@ -115,4 +115,5 @@ req := &helloworld.HelloRequest{Name: "unit_test"}
|
||||||
).Return(&helloworld.HelloReply{Message: "Mocked Interface"}, nil)
|
).Return(&helloworld.HelloReply{Message: "Mocked Interface"}, nil)
|
||||||
```
|
```
|
||||||
|
|
||||||
This document is a brief introduction to how gRPC services can be mocked using Gomock.
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue