Refactoring Go4Data using Interfaces and Benchmarks

A step-by-step guide on how you can use interfaces in Go to refactor and make your code base very modular

Percy Bolmér
ITNEXT
Published in
7 min readFeb 4, 2021

--

An example of what Go4Data can be used for.

In this article, I will cover how I used the power of the Golang interface to replace a major piece in Go4Data. We will also use benchmarks to compare to old solution to the new solution.

--

--