Published inCodeXWrapping commands in GoYou can find a lot of articles about Go that describe general aspects of it. Including the content on this blog. Today, I decided to…Aug 12, 2021Aug 12, 2021
Published inCodeXWriting custom linter in GoWriting linters is simple. I was surprised how it’s easy to write a Go linter. Today, we’ll write a linter that will calculate the…May 6, 20211May 6, 20211
Published inCodeXExtracting the business logic — the projectIn the last article, we wrote a few tests for a project to make sure that our refactoring won’t break anything. To understand the project…Mar 30, 2021Mar 30, 2021
Published inCodeXRefactoring for better testabilityWhen we talk about software design we very often use very generic and abstract words. But, how about the practice? How does it look in a…Jan 5, 2021Jan 5, 2021
Published inCodeXIs my interface too big?In this article, I explain how you can detect if the interface you’re using is getting too big and requires splitting into smaller ones…Dec 28, 2020Dec 28, 2020
Published inCodeXGo with some contextThe context package in Go is quite simple and well-known. On the other hand, there are some misunderstandings while using it. Today, I'll…Dec 25, 2020Dec 25, 2020
Never Split the Difference: Negotiating As If Your Life Depended On ItI always had problems with negotiations. To be precise — it’s still a problem for me but I think that “ Never split a difference “ by…Dec 4, 2020Dec 4, 2020
Published inCodeXAdd header to every request in GoMaking changes to all HTTP requests can be handy. You may want to add an API key or some information about the sender like app version etc…Sep 8, 2020Sep 8, 2020
I talk to spammers. Here is what I foundFrom time to time, I receive an email from a scammer that says he has X million dollars/euro for me. At the very beginning, I removed…Sep 2, 2020Sep 2, 2020
Go web frameworksGo has plenty of different web frameworks. When you are faced with choosing a framework for the first time, it may turn out to be quite a…Aug 31, 2020Aug 31, 2020