You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2023. It is now read-only.
It would be nice to not have to import the "time" package at all.
It makes it easier, just by eyeballing the imports, to audit a package to ensure time.Sleep or time.After does not get used by accident.
However, in many cases the time package is required to use time.Duration.
It would be nice to have a type alias in the clock package, so that clock.Duration could be used interchangeably.
The text was updated successfully, but these errors were encountered:
It would be nice to not have to import the "time" package at all.
It makes it easier, just by eyeballing the imports, to audit a package to ensure
time.Sleep
ortime.After
does not get used by accident.However, in many cases the
time
package is required to usetime.Duration
.It would be nice to have a type alias in the
clock
package, so thatclock.Duration
could be used interchangeably.The text was updated successfully, but these errors were encountered: