Skip to content

jsainthilaire/try-gripmock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple example using GripMock

How to use

- Go to the makefile and set the path to the project.
- Run make generate-proto.
- Run make run-with-mock.
- When you see the message "Serving gRPC on tcp://:4770" run go run main.go

Notes

  • The server.go file shows an implementation of the server.
  • This shows how to mock a simple endpoint, we can use matchers and other params to decide the returned values.

About

Simple example on how to use gripmock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published