The requirement was to provide a central point of contact for all customer software in the form of an Internet portal. After ordering a product, the customer can find all documents, tutorials, as well as required software & tools in one place. The application must be easy to use and
Continue readingTag: golang
Create Golang API Documentation with Swagger
When you develop a backend, at some point you always come to the point that you have to explain its interface to other developers. With go-swagger and SwaggerUI we can automatically create an interactive, well-structured API documentation. This blog post shows how to annotate a Golang REST API and create
Continue readingDocker Compose: Retry Database Connect With Docker and Go
When I implemented a Docker Compose file that starts our entire system, I stumbled upon a common problem. The database container is ready, but the database itself is not. So the services try to establish a connection, but fail, because the database is still starting.
Continue readingPrivate Golang Registry in Artifactory
The backend of my latest project consists of several microservices written in Go. Each service is built in Jenkins and then deployed to the Openshift Cloud Platform. The one problem we have is that this Jenkins is not allowed to communicate with servers outside of the companie’s network.
Continue readingVisual Studio Code, Modules and Golang Language Server
Since Go 1.11, modules are the official way of managing dependencies in Go. The transition is not as smooth as it should be as it is in a very early stage. The feature is planned to be finalized with Go 1.14.
Continue readingCompile and Run Golang with Docker
In this tutorial, I guide you through the process of writing a Dockerfile which compiles and runs a Golang application packaged into a Docker image. Thereby, I use a multi-stage setup, removing the need for seperate Dockerfiles for compilation and execution.
Continue reading