InCodeXbyBartłomiej Klimczak·Aug 12, 2021Wrapping 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…
InCodeXbyBartłomiej Klimczak·May 6, 2021Writing 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…A response icon1A response icon1
InCodeXbyBartłomiej Klimczak·Mar 30, 2021Extracting 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…
InCodeXbyBartłomiej Klimczak·Jan 5, 2021Refactoring 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…
InCodeXbyBartłomiej Klimczak·Dec 28, 2020Is 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…
InCodeXbyBartłomiej Klimczak·Dec 25, 2020Go 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…
Bartłomiej Klimczak·Dec 4, 2020Never 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…
InCodeXbyBartłomiej Klimczak·Sep 8, 2020Add 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…
Bartłomiej Klimczak·Sep 2, 2020I 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…
Bartłomiej Klimczak·Aug 31, 2020Go 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…