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…Nov 28, 2020Nov 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…Nov 21, 2020Nov 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…Nov 14, 2020Nov 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…Mar 27, 2020Mar 27, 2020