4 tools for generating REST APIs Aug 09, 2024Generate Go code from an OpenAPI spec, or vice versa? You decide. These tools help you go both ways.
6 repos that help you get better in Go Jul 07, 2024What's better than learning by inspecting real code? These repositories can help you transition from 'I know Go' to 'I understand how to use Go'.
Concurrency and pointers Jul 05, 2024Passing values through channels is fine, but beware of passing (hidden) pointers between goroutines.
Don't check in go.work Jun 27, 2024The go.work file manages local redirects of remote modules. It's specific to your machine, so don't add it to the repository.
A demo-friendly web server Jun 03, 2024Or: don't hard-code your demo server port to 8080. Let it choose the next available port instead.
Domains for local dev servers Jun 01, 2024Instead of accessing your local dev servers through different port numbers, use Caddy to access them through separate domains.
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?
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?