Documentation
¶
Overview ¶
Package stattime provides time comparison functions that work with times up to the finest common precision. such as a file's modification time in a file system and a time.Time value from time.Now(). Slight warning: there's a chance of false positives when comparing times from different sources especially when the one of the times happen to be at the exact boundary of the precision.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MinPrecision ¶
MinPrecision returns the maximum precision of the given two times.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.