Log
2022
Designing Go Libraries: The Talk: The Article 53 minutes
Introduction to generics in Go 13 minutes
Bare minimum semantic versioning 4 minutes
Go Patterns and Practices talk
Subcommands with Go’s flag package 10 minutes
Handle spaces in file names with xargs 6 minutes
Mock programs to test os/exec in Go 17 minutes
2021
Go errors: Use %q with fmt.Errorf 1 minute
How to write flexible YAML shapes in Go 11 minutes
2020
How to parse Newline Delimited JSON in Go 2 minutes
Go Gotcha: Struct pointers as map keys 2 minutes
Fix-up Git commits with Tig 6 minutes
2019
Filter Go slices without allocating 7 minutes
Restack Git branches automatically 10 minutes
Go Antipatterns: Channels that fire once 3 minutes
Understanding Go’s token.Pos 7 minutes
2018
Go Antipatterns: With* Context Managers 5 minutes