Middleware example Run the code: go run main.go Try calling the endpoint with curl localhost:8080/ -v