Testing Go applications with PostgreSQL and docker

I spawn and terminate docker containers automatically with Jenkins. This allowed me to have a lighter application and to keep my testing environment closer to the live environment. In this post I describe how I did this. The problem A problem i recently faced was how to build continuous integration for a web application I… Continue reading Testing Go applications with PostgreSQL and docker


Gin-gonic improvements

While writing simple web applications using gin-gonic web framework, there are some things that should be improved, in my opinion: Ideas Static file serving: it should be improved to use browser caching, according to https://developers.google.com/speed/docs/insights/LeverageBrowserCaching Default values for templates rendering: there are some values that I am going to need in pretty much every template… Continue reading Gin-gonic improvements