make unit-tests
make integration-tests
go run main.go
curl --header "Content-Type: application/json" --request POST --data '{"Int1": 2,"Int2": 3, "Limit": 10, "Str1": "fizz", "Str2": "buzz"}' localhost:8080
1 fizz buzz fizz 5 fizzbuzz 7 fizz buzz fizz
Return the parameters corresponding to the most used request, as well as the number of hits for this requests.
curl localhost:8080/statistics
{"Pattern":"/fizzbuzz/{\"Int1\": 2,\"Int2\": 3, \"Limit\": 10, \"Str1\": \"fizz\", \"Str2\": \"buzz\"}","Count":4}