package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Aug 23, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
UnixTime is a type for a Unix Timestamp
InSeconds returns the UnixTime for the current time + the number of passed seconds
New creates a new UnixTime from a time.Time
Now returns the current time as UnixTime
Scan implements the sql.Scanner interface
Time returns the UnixTime as time.Time
Value implements the driver.Valuer interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.