Comment

Comment by arnehormann

You should use switch v := i.(type) so you can access v as the type in a case.
parent arnehormann 12 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton