web-service-gin-1

simple RESTful web service with Go and Gin

Using gin to route request, retrieve request details and marshal JSO for responses.

  1. Design API endpoints.
  2. Create a directory for code
  3. Create Data
  4. Write handler to return all items.
  5. Write handler to add new item.
  6. Write hander to return specific item.

IMPORTANT: Data will be stores in memory vs interacting with a database.

GitHub

View Github