The following is a very barebones PoC implementation of a somewhat RESTful (more CRUD) API that consumes JSON. It's a WIP.
The GenUUID function is based upon nu7hatch's implementation: https://github.com/nu7hatch/gouuid
Things to improve:
- Error and panic handling/recovery including the JSON marshalling of errors.
- Persistance & Concurrency Locks
- Logging