Y
Hacker News
new
|
ask
|
show
|
jobs
by
arnehormann
4204 days ago
You should use switch v := i.(type) so you can access v as the type in a case.