time: NewTicker is missing documentation on initial tick #42245
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?1.15
What did you do?
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 afterd time.Duration
.What did you expect to see?
That https://golang.org/pkg/time/#NewTicker documents this behaviour.
What did you see instead?
Behaviour wasn't documented.
The text was updated successfully, but these errors were encountered: