HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Splizard | Hacker News Reader
Parent
Full thread
Splizard
·
You can also add support for exhaustive switches on tags.
View on HN
catlifeonmars
·
Just as a linter config though?
Splizard
·
No, by leveraging unkeyed struct initializers as the switch case pattern, which the Go compiler does exhaustiveness checking on.
Reply on news.ycombinator.com