© 2023 Hashnode
#go-cjffccfnf0024tjs1mcwab09t
When building an application, a middleware is a code that hooks on the server-based request/response lifecycle, which will then chain the request from the client to the next middleware function and ev…
In software engineering, we often encounter technical challenges that require us to find efficient and reusable solutions. In this post, I would like to share my experience with higher-order functions…
In concurrent programming, it's crucial to synchronize access to shared resources to avoid data races and ensure consistency. In Go, the sync package provides two types of locks: RLock (read lock) and…
Years ago I started programming in PHP - I hated it. I don't mean to dunk on PHP, I know lots of people use it & love it but it was not for me. A few years later I started again and went the route of …
Slices are a powerful data structure in the Go programming language. They are dynamic-size arrays, which means that their size can be changed at runtime. This makes them very versatile and useful for a variety of tasks. For example, you cou…
Introduction Go is a programming language developed by Google that has gained popularity among developers for its simplicity, concurrency, and efficiency. It was designed to be easy to learn and use, …
If you're interested in DevOps or already have some experience with it, chances are you've heard of Go. But if you haven't, let me tell you - it's a programming language that's taking the DevOps world…
As a developer with experience in several object-oriented programming languages, it can be challenging to switch to a new language that follows different paradigms. However, learning a new programming…
In the First Article, we set up goenv and installed go in our local environment. Now we will create a proper folder structure for the golang cli application and under what's go modules. Overview Havi…
If you're looking to learn a new programming language, Golang is a great option to consider. With its simple syntax, fast performance, and excellent built-in concurrency features, Golang has become in…