Practical unit-testing web client in Go

Photo by Karl Pawlowicz on Unsplash
Practical web client unit-testing in Go by mocking the server side, with examples from my first open-source project libvault
Read more →

Docker healthcheck experiments with Go web app

Docker healthcheck experiments with Go web app
Check out Docker HEALTHCHECK feature with a small configurable Go web app with example

Go’s method receiver: Pointer vs Value

Go's method receiver: Pointer vs Value
The topic is large, and there is plenty of information online. This blog tries to keep it short and concise, and useful for experienced programmers that are new to Go. Coming to Go from Python introduced me to a new concept I didn’t have to put thought into. Python is a pass-by-object-reference language. You have no direct control over that. What this means is, when you pass an object (everything in Python is an object) to a function, you pass a reference to the object itself.
Read more →