Category: Go
-
Achieving Concurrency in Go: Patterns and Examples

Concurrency is built-in to Go programming language. This sole feature of Go, makes it popular choice for many software systems with high request throughput. In this blog, we are gonna dig into some of the common concurrency patterns you may encounter. Before we go ahead, this blog assumes some basic knowledge of Go, and its…
-
Loading JSON string in Go

Golang provides great set of standard libraries to work with multiple use cases we encounter while developing software. In this blog, we will look at one of the most common use cases to load JSON data into memory of Go runtime. Code Snippet We will make use of Go standard library encoding/json to load JSON…
-
Part – IX: Push to ACR using GitHub Actions (Continuous Deployment)

Hey everyone, Welcome back! This blog forms the 9th part of our Microservices in Go series. We have built a CI pipeline & have also manually created a CD pipeline in our previous blogs. Now, we will automate our CD (Continuous Deployment) in this blog. Continuous Deployment As defined by Google, Continuous Deployment (CD) is a…
-
Microservices in Go: Part – VIII: Deploy to Azure using ACR & App Service

Hey there, Welcome to the 8th blog in Microservices series. In our previous blog we have built a CI pipeline for our repository using GitHub Actions. In this blog, we will start on CD (Continuous Deployment). I have planned this in two blogs, one to setup things required & do manual testing, then to automate…
-
Microservices in Go – Part V: HTTPS Server in Go

Hey everyone, Here comes the part-V of our Microservices in Go series of blogs. This would be a short blog, intended to help you run your HTTP API’s on HTTPS. Before jumping into that, let’s know what’s HTTPS and why is it preferred over standard HTTP. HTTP vs HTTPS HTTP stands for Hypertext Transfer Protocol,…
-
Microservices in Go – Part 3 : Basic Authentication

Hey everyone, Welcome back! It’s been months we met in our blogging journey. But, we are back with a bang! In this blog we will add authentication to the very simple microservice we have developed in our previous blog. Let’s go ahead. Authentication Hmmm! What’s authentication and why do we need it in a microservice?…
-
Microservices in Go – Part 2

Hey everyone, Welcome back. If you’re new to this series of blogs, have a look on Part I which talks about What are Microservices and Getting started with REST API’s in Go. In this blog, we will continue on our learning journey and implement GET(single), PUT and DELETE API’s on our product catalog server for…
-
Microservices in Go

Hey everyone, a huge welcome back to our blog! In this post, we will discuss about the what and how’s of microservices and implement a simple REST API in GoLang. So, what’re we waiting for? Let’s get started. Microservices Before writing some, let’s know what do we mean by Microservices. It’s an architectural style of…
-
Multi stage Docker Builds ft. GoLang
Hey everyone, Welcome back! In our previous post, we have learnt how to dockerize a simple python application, which probably is a beginner friendly example. If you haven’t went through that, click here. In this post, we will look in a bit more and see what exactly are multi stage builds, and why do we…
