This is my try at creating a golang rest api template for anyone to use. It is entirely based on my own techinal opinion and personal taste, but I will try to explain why I did some things the way I did. I also am open to receive suggestions and (constructive) criticism.
Things I believe are no-brainers because most of the community use and are considered good practices so far:
That being said, I will try to speak about my other choices below.