Application Health Check with Golang and Multi-Stage Docker Build

Recently I developed an application which had some random downtimes because of some unstable components that are under control by an external company. The operations department forced me to provide a http based health check route to support the uptime 24/7. I was free to use whatever I like, it just has to respond with HTTP code 200 if all checked application components are up…