-
How To Gracefully Shut Down Your Golang API And Its Dependencies
Graceful shutdowns should be an essential practice for all production APIs and their dependencies. Unfortunately, that is often not the case. In this blog post, we will explain what a graceful shutdown is, why it is necessary, and how to implement it. We will provide an example of a graceful shutdown in Go using Gin,…
-
Start Using The Specification Pattern In Golang Now!
If you have experience in software development, you’ve likely encountered the need for validation. The task is often straightforward in the beginning, but as the complexity of the rules compound, it can quickly become challenging. Having an effective strategy in place is the best way to avoid validation hell. This is where the Specification Pattern…
-
Let’s Discuss Golang Best Practices!
Wikipedia states that a best practice is a method or technique that has been generally accepted as superior. Unfortunately, personal preference can influence what is considered superior. Individuals may value different aspects, such as performance or readability, and trade-offs are common. Nevertheless, it is crucial that your team align on shared conventions. In this blog post, I…