package
Version:
v0.23.6
Opens a new window with list of versions in this module.
Published: Aug 2, 2022
License: AGPL-3.0, AGPL-3.0-only
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
¶
View Source
const (
OneMinSec = 60
OneHourSec = 3600
OneDaySec = 86400
OneWeekSec = 7 * 86400
OneDay = 24 * time.Hour
OneWeek = 7 * 24 * time.Hour
)
Second convert an integer N to time.Duration present N seconds.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.