madson / cartesian

Nearby points API based on Cartesian coordinate system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Basic Go Lang API endpoint based on the instructions found here: https://github.com/tobym/cartesian.

How to run

On terminal run the following command lines:

cd /path/to/cartesian/project
go run . --port 8000

How to test

Here's an example using HTTPie:

http -v "http://localhost:8000/api/points?x=1&y=1&distance=24"

About

Nearby points API based on Cartesian coordinate system


Languages

Language:Go 100.0%