Closed pgporada closed 4 months ago
Switch from using the deprecated clock.Default() to clock.New(). Both return the same value of systemClock. This fixes a code deprecation warning in my editor.
clock.Default()
clock.New()
systemClock
For more details, see jmhodges/clock.
Switch from using the deprecated
clock.Default()
toclock.New()
. Both return the same value ofsystemClock
. This fixes a code deprecation warning in my editor.For more details, see jmhodges/clock.