Test your API with AI
Devzery's Go SDK helps you test your API using the power of AI. Use Devzery to achieve end to end testing of your API by just adding few lines of code
Install the package by running the following command in your terminal
go get github.com/devzery/devzery-go-gorilla-mux
Paste the following code in your router
func main(){
r := mux.NewRouter() //Here replace 'r' with your router name
mw := loggingMiddleware.create(
"API_ENDPOINT",
"YOUR_ACCESS_TOKEN",
"YOUR_SOURCE_NAME",
)
r.Use(mw.LoggingMiddleware)
}
"YOUR_SOURCE_NAME" should be the name of the service which is hitting our API_ENDPOINT
You can now send requests to your APIs and Devzery will take care of testing on them. Yes it is that simple!