Cyril Davidbuilding http based clientsWhen I came from the very dynamic world of ruby, my first approach to designing HTTP clients in go was to think about mocking similar to…2 min read·Nov 28, 2020----
Cyril DavidUsing the net/http package in goWhen I started picking up the go language years ago, things that stood out to me immediately were the io and net/http packages. Both of…2 min read·Nov 21, 2020----
Cyril DavidDependency Injection in GoWhen I mention dependency injection to folks who have Java or .NET backgrounds it usually invokes a few sets of questions — to which my…3 min read·Nov 14, 2020----
Cyril Davidatomically closing termination channels in GoOne of the most prevalent patterns when managing the lifecycle of goroutines in Go is to have a done channel. Here’s a quick example…2 min read·Mar 27, 2020----