Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Splizard
· 3mo ago · 0 comments
You can also add support for exhaustive switches on tags.
Comments
[–]
catlifeonmars
3mo ago
Just as a linter config though?
[–]
Splizard
OP
3mo ago
No, by leveraging unkeyed struct initializers as the switch case pattern, which the Go compiler does exhaustiveness checking on.