Latest
Implement an Interface in Go with just the LSP
If you have ever needed to implement an interface in Go you may have reached for third party tools in the past but thats no longer necessary. In this blog post I'll describe a simple trick to do it directly with the Go Language Server.
3-11-2024
Using Go generics to handle optional JSON fields
Ever needed both nil and undefined when working with Go? Let's take a look at a use case where you may need that behaviour with a slick solution inspired by a Go standard library type and a sprinkling of generics.
30-12-2024