[Solved] Why syntax for channel parameters are different? Are there any underlying meaning?

[ad_1]

I’m familiar with the syntax: variableName type in Go. Is this a channel type, or an int type, or a chan int type? And what’s with the weird syntax?

chan int is the type. It’s just as “weird” as []int.

[ad_2]

solved Why syntax for channel parameters are different? Are there any underlying meaning?