Single-binary Docker images
Go applications are very self-contained. So self-contained, in fact, that they can act as their own Docker container!
Go applications are very self-contained. So self-contained, in fact, that they can act as their own Docker container!
Go doesn't come with stacktraces. It encourages you to build your own.
Recommended git configurations and other tips.
The "functional options" pattern in Go is very silly. Here's an easier alternative.
If you need multiple goroutines to wait for the same thing, use a done channel.
What's the right way to handle errors in the main function?
Python has a handy for/else construction. Go has an equivalent.
This page collates some strategies I've found useful when testing Go programs.