Building RESTful API with the Gin framework