Integrated keploy in my first Golang project. It is a simple API with Echo Golang framework.
run the API, by the command
go run server.go
test the API by request to http://localhost:3000/hello
the response will be:
{"message":"Hello World"}
Importing keploy files according to the Documentation
Running the Keploy server:
For unit testing using Keploy, run cmd:
$env:KEPLOY_MODE="record"; go run server.go