package
Version:
v1.16.1
Opens a new window with list of versions in this module.
Published: Aug 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
Package safetime contains a wrapper function for time.Since to deal with
negative durations.
TimeSinceSafe returns the duration since t. If the duration is negative,
returns false to indicate the fact.
Used to workaround a malfunctioning monotonic clock.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.