I'm a Go rookie.
I'm looking at some Kubernetes source code that looks in part like this:
t := r.clock.NewTimer(r.resyncPeriod)
return t.C(), t.Stop
t is a new Timer, and I can see that the Timer type has a field named C, which is a chan whose messages, should there be any, will be of type Time. I understand that part.
I don't understand why it's t.C() above, and not t.C (no parentheses). To my naïve eyes, this looks like some sort of function invocation on the channel. Could someone kindly explain what's going on here? What do the parentheses indicate, in particular? Thank you.