Containers from scratch? Mar 08, 2024Containers manage binaries and their supporting libs. Pure Go binaries don't need any external libs. Is the `scratch` image the right choice?
How to get build information of a Go binary Feb 02, 2024A Go binary contains intersting details about the build process, such as Go version, dependencies, or build flags.
Communicate by (not) sharing memory Jan 05, 2024Can multiple goroutines write to the same slice without any safeguard? Sure, they can, but is it a good idea?
Don't Select the Default Dec 09, 2023In a select block, don't be tempted to add a default case as a "fallback" or it might turn into a busy loop.
Sum Types in Go Nov 21, 2023Go has no native sum types. Does Go need them at all, given that it has multi-value returns, and is it possible to implement a custom sum type?
Dot Imports Ftw or Wtf Nov 14, 2023At first sight, dot imports seem to make code clearer. However, in the end they only create more confusion than clarity.