News for hackers. Stuff that matters.
Re:Go 1.27 by Splizard on Wednesday August 19, 2026 @04:30PM (#49366826)
You can also add support for exhaustive switches on tags.
Re:Go 1.27 by catlifeonmars on Thursday August 20, 2026 @03:01AM (#49371354)
Just as a linter config though?
Re:Go 1.27 by Splizard on Thursday August 20, 2026 @09:42PM (#49382647)
No, by leveraging unkeyed struct initializers as the switch case pattern, which the Go compiler does exhaustiveness checking on.