News for hackers. Stuff that matters.
Re:Safer Enums in Go by Splizard on Saturday May 14, 2022 @11:55AM (#31379198)
Enum supports an exhaustive Switch as well, here's an example based on the blog post: https://go.dev/play/p/Ef78vLyw33g

There are no comments on this comment yet.