#go
Read more stories on Hashnode
Articles with this tag
It is no secret that nobody loves Go's error handling. We pretend to love it, we tolerate it, but deep down we know that feeling. It is not the if err...
Is it better to use a shared global logger and negotiate settings with every module, or to use private logger instances customised to taste? For most...
Go's log/slog standard library package provides everything you need to get started with structured logging. It has been thoughtfully designed to...
Go 1.21 was released in August 2023 and brought several improvements, structured logging via the log/slog package being one. I had waited for this...
A Twitter mutual recently tweeted about issues with mocks in his codebase. I was surprised by his tweet; I used to think that Scala users have it all...
Embracing contract programming for interfaces ยท We are familiar with design by contract or contract programming. It is a useful technique for checking...