Integrating Keploy 🚀🚀

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"}

hello_world

Some snippets:

File structure:
image2

Starting echo server:
image

image

image

Importing keploy files according to the Documentation

image

image

image

image

Running the Keploy server:

image

For unit testing using Keploy, run cmd:

$env:KEPLOY_MODE="record"; go run server.go