Fastest and simplest pattern matching sum types in Go. Don't be jealous of Rust anymore.
-
Updated
Jul 7, 2024 - Go
Fastest and simplest pattern matching sum types in Go. Don't be jealous of Rust anymore.
Helps to easily JSON marshal / unmarshal tagged unions in go
A dead simple library for parsing discriminated unions in Go.
An example of tagged unions and exhaustive pattern matches in Go
Add a description, image, and links to the tagged-unions topic page so that developers can more easily learn about it.
To associate your repository with the tagged-unions topic, visit your repo's landing page and select "manage topics."