Build your own stacktrace
Go doesn't come with stacktraces. It encourages you to build your own.
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.