xeptore
| 7 mins read

Graceful Shutdown Go Apps

In the context of long-living applications, such as web servers, it’s a good practice to close, and release resources acquired upon application shut down. In this post I’m going to demonstrate how it can be done in the context of a simple typical web server application using Go 1.21, which was just released a few days ago.
Read

| 3 mins read

Pin Go Installed Package Version

One of the problems that may arise when working with executables installed by Go is difference in versions. In this post, I’m going to share a solution that I use to resolve this issue.
Read

| 2 mins read

Nested Make

Another solution for invoking commands inside another working directory context.
Read

| 3 mins read

CNAME Flattening

CNAME flattening is a feature provided by some DNS services to either speed up the DNS resolution process, or mitigate some limitations of the DNS standards.
Read