Encoding Sum Types in Go Using Constraints



Go 1.18 was released last month to rowdy applause. It was the big release we've been waiting for. It brought some exciting features such as fuzzing and generics, as well as improvements to parts of the standard library. On the whole, the Go team has ...



Read: https://humanlytyped.hashnode.dev/encoding-sum-types-in-go-using-constraints