All articles tagged go

Avoiding interface pollution in go

Fri Jan 01 2021

Interfaces are quite easily one of Go's most used features, making it also one of the most abused features. Firstly, what is an interface? An interface acts as a contract of functionalities expected by a caller (known as a client object, or function in the case of go) ...

Exploring go net/http: How Server and the Handler structs works.

Mon Nov 16 2020

The net/http is easily one of the most used libraries in go. This article is the first in a multipart series that will be looking at how certain functionalities work in the HTTP package. In this article, we'll be taking a look at Servers in go, the parts that make them work...

Essential Steps for your GO CI build pipeline.

Fri Nov 13 2020

So, full disclosure; This article has little to do with CI and more to do with go tools. The title was written that way because most of these build tools should be used when setting up a CI pipeline in order to make sure buggy/messy code doesn't make its way into the production....

Debugging Go With GoDelve

Wed Jun 03 2020

Finding my way around a terminal-based debugger was one an early challenge for me as an engineer, as it probably was for a dozen more engineers. So, here's an article that aims to serve as a soft intro into the CLI debugger for go...

How to MTLS in golang

Sat Mar 21 2020

Mtls, short for Mutual Transport Layer Security, in microservices is a form of bi-directional security between two services where the TLS protocal is applied in both directions...

Build Constraints in Golang

Wed Nov 13 2019

Ever had to write go code that works on one platform and another piece of code that works on another? or ever had to painstakingly assist a colleague in setting up his engine to run CGO related code? Just me?...

Diving into Golang channels

Diving into Golang channels

Sun Jul 28 2019

Golang channels make it easy to send data across dimensions (boring name; goroutines) in a safe and controllable manner. In a previous article, I covered goroutines and gave a simple explanation to channel...

Intro to Golang and Mysql

Wed May 22 2019

The usual next step for any developer learning a new language is to move into database manipulation. Seeing as how golang is an amazing (easily one of my favorites) language and how MySQL is one of the most used databases so far. This article covers how to run insertion and retrieval MySQL...