A simple golang RESTful API that records mountain pass information instrumented with the Datadog tracing library.
# Create
curl -X POST http://localhost:8080/passes \
-H "Content-Type: application/json" \
-d '{
"name": "Gotthard Pass",
"country": "Switzerland",
"ascent": 2106
}'
# Read
curl http://localhost:8080/passes/4
# Delete
curl -X DELETE http://localhost:8080/passes/4