package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Mar 29, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SafeUnixNano calls WeekOf() and then zeros out the hour, minute, second, nsec fields
and returns the UnixNano() value.
WeekOf takes the current time and goes backwards till it finds a Sunday, then returns that date.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.