A basic rest api in golang using gin.
Inorder to test the api , clone the repository in your local directory using git clone
.
After the setup is complete, to test open your terminal and enter
curl http://localhost:8080/albums/<any_valid_id>
, and that should give the desired result.