NOTE: You should have completed GoLang-2 task. Using the same repo, create a new branch and follow these steps:
- Read up on Clean Architecture using Golang, and see its example repository.
- Create
models
directory, and create the modelstructs
Patient
,Location
andHospital
inside this package. - Create a folder called
patient
,location
andhospital
in the root directory. These will be the base endpoints. Then createrepository
,usecase
anddelivery
folder inside each endpoint folder. - Inside each endpoint folder, create
usecase.go
andrepository.go
files. These will be the interfaces you will use.