Auto restart mechanism for our Go programs
As a golang developer, ensuring that our Go programs run reliably and uninterrupted is paramount. One way to achieve this is by implementing an auto restart mechanism. However, unlike Node.js, Go does not have a popular process manager like pm2 that provides this functionality out-of-the-box. However, this doesn’t mean that Go developers are left without […]
Golang ticker
Hi guys, I am back again with an another short tutorial. This time we will be looking at an interesting use case for Golang ticker. Apart from tickers we will also make use of channels in this tutorial. So, without any further ado, let’s get started Agenda Recently, while working on a small project of […]
Channels in golang: Usage with examples
Go, also known as Golang, is a powerful programming language that is known for its ability to handle concurrency efficiently. And the feature which enables this is channels. In this blog post, we will explore the power of channels in Golang by looking at some example use cases. We will cover and some advanced techniques […]
Go fiber custom header middleware
Hi guys, today we are back again with an another go fiber middleware tutorial. In this tutorial we will be building a custom header middleware for our go fiber app. In one of our previous tutorial we learn how we can build a custom go fiber middleware and if you haven’t checked that out than […]
Go fiber custom middleware
As a Golang developer coming from a nodejs background, my framework of choice when it comes to REST API like many is Go Fiber. Due to its simplicity and beginner-friendly approach like express.js, it becomes very easy to start and build performant APIs. Also, just like expressjs, it comes with middleware support, routing, template engines […]