I’m familiar with the syntax:
variableName type
in Go. Is this a channel type, or anint
type, or achan int
type? And what’s with the weird syntax?
chan int
is the type. It’s just as “weird” as []int
.
solved Why syntax for channel parameters are different? Are there any underlying meaning?