I’m familiar with the syntax:
variableName typein Go. Is this a channel type, or aninttype, or achan inttype? 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?