Improving the code from the official Go RESTful API tutorial

My re-implementation of the code from the official Go tutorial ‘Developing a RESTful API with Go and Gin’, using only the standard library, adding tests, and fixing issues.