- This is really cool. SQLite is, of course, the super-widely used, embedded SQL database, written in C. modernc.org/sqlite is a CGo-free version of it for Go, which makes it easier to use in Go programs.
- From the release notes of Ory Hydra, I learned about knadh/koanf, a Go library for configuration (via command line or files in various useful formats). It claims to have fewer dependencies than other options, but still has quite a few. The dependencies aren’t unreasonable for what the library does.
- Ben Hoyt, writing for LWN, wrote an excellent roundup of the latest generics proposal for Go. Linked from there is Bryan Mills’s repository of experiments and thoughts about the proposal.
- Here’s an open source repository for learning Go: https://github.com/inancgumus/learngo It’s the background for Learn Go Programming.com
- I like working with Testify as a more ergonomic way to write tests in Go. The problem is that some comparisons it does (as with times) can be incorrect. There’s an issue to use go-cmp instead, but they’re worried about backwards compatibility problems. I hope they make the change in some fashion, though.
- Go is a nice language, but it definitely has some quirks and, if you’re new to Go, you’ll appreciate knowing about these Go quirks in advance.