Install golint like:
go get -u golang.org/x/lint/golint
Then just:
make
It will run tools like vet, and golint, compile, run tests, format the code, and open the coverage report.
After building the server (see above), just run either of:
- build/minesweeper-API-linux
- build/minesweeper-API-darwin
See spec.yml which is in Swagger format.
- Create a user by
POST
ing to/users
. You get your user id and api key. - Use the api key to authenticate to any protected endpoints by sending your api key in the
X-API-Key
header.