Learn how to deploy a Go web application with Docker, and how Docker can help improve your development workflow and deployment process.
Building Go Microservice with Gin and CI/CD
Get familiar with Gin and find out how it can help you reduce boilerplate code and build a request handling pipeline.
Building and Testing a REST API in Go with Gorilla Mux and PostgreSQL
Introduction This tutorial will illustrate how you can build a REST API backed by PostgreSQL in Go, using Gorilla Mux for routing. The tutorial will employ test-driven development and will conclude by explaining how you can continuously test against a database during development. Goals By the end of this tutorial, you will: Become familiar with […]
Packaging and Deploying Go Applications to AWS using Semaphore
Introduction This tutorial will illustrate how you can use AWS CodeDeploy, a scalable deployment service offered by AWS that lets you automate your deployment process. We will package and continuously deploy a Go application to an EC2 instance. The tutorial will use a sample application and walk you through the process of updating your existing […]
Getting Started with BDD in Go Using Ginkgo
Introduction Over the past few years, Go has developed into the language of choice for many types of applications. Its popularity can be attributed to several factors, out of which its testing story is a prominent one. Out of the box, Go comes with a great package for testing. This tutorial will explain how you […]
Test-driven Development of Go Web Applications with Gin
Introduction This the second part of the tutorial on building traditional web applications and microservices in Go using the Gin framework. In the first part of the tutorial, we set up a project and built a simple application using Gin that displayed a list of articles and the article details page. This part of the […]
How to Perform Integration Testing on Go Applications with Docker
Introduction One of the reasons behind the popularity of Go is its testing story. Go comes with a lightweight test framework that makes it trivial to write different kinds of tests. In this tutorial, you will learn how to perform integration testing with Go. We will create a sample application, which will make use of […]