Tag: 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 – VI: Go Client to HTTPS Server
Hello everyone 👋, Welcome back! In our previous blog, we have seen how to create an HTTPS Server in GoLang, we have also seen fetching the data using API on browser using HTTPS. But, how can a programmed client can fetch data from HTTPS server. Let’s check that out in this blog. Normal HTTP Client…
-
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?…