News for hackers. Stuff that matters.
Re:Compile-time safety for enumerations in Go by orbz on Friday September 29, 2023 @02:54PM (#37708651)
This is an analyzer that will catch this: https://github.com/nishanths/exhaustive

I believe it's in golangci-lint.

There are no comments on this comment yet.