GoLang-3: Clean Architecture

NOTE: You should have completed GoLang-2 task.

Using the same repository, create a new branch and follow the task steps at

You should return all errors so that it can be shown in the json response, if there is any. E.g. {"message": <error_message>}

Commit message should be GCI-<gci-id>: <your_message>

Submission steps

  1. Your PR link
  2. 6 screenshots showing the responses in Postman:
    • /patients , /patients/:id
    • /locations, /locations/:id
    • /hospitals , /hospitals/:id

pretty format.


Task tags

  • golang
  • go
  • backend

Students who completed this task

Nayan, riskycase, Ribhav Sharma, prathamesh_m009

Task type

  • code Code