/go-api

Dummy API implemented as a Golang exercise

Primary LanguageGo

Dummy API in Golang language

CI

Just for exercising Golang fundaments.

API implemented using the Gin framework.

This is a WIP project

Endpoints

Books

  • GET /books: Retrieve all books
  • POST /books: Post a new book
  • GET /books/{id}: Retrive book with ID id`
  • PATCH /books/{id}/checkout: Checkout book with ID id
  • PATCH /books/{id}/return: Return book with ID id