|
|
|
|
|
by dragonwriter
4703 days ago
|
|
> "type" is a magic word in Go, and in that example. Specifically, type switches are a specific syntax construct that look very similar to normal switches, but switched on something that looks like a type assertion with "type" in place of an actual type. |
|