go version)?1.15
I was about to use https://golang.org/pkg/time/#Tick and wanted to know if I would get an initial tick or the first tick will be sent immediately or after d time.Duration. https://golang.org/pkg/time/#Tick refers to https://golang.org/pkg/time/#NewTicker so I opened up the documentation for that. I noticed that https://golang.org/pkg/time/#NewTicker doesn't document whether the initial tick is sent immediately or after d time.Duration.
That https://golang.org/pkg/time/#NewTicker documents this behaviour.
Behaviour wasn't documented.
Change https://golang.org/cl/265818 mentions this issue: time: in NewTicker, document that the 1st tick comes after d
Most helpful comment
Change https://golang.org/cl/265818 mentions this issue:
time: in NewTicker, document that the 1st tick comes after d