Discover Packages
github.com/Hubmakerlabs/replicatr
pkg
nostr
timestamp
package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Jan 1, 2024
License: CC0-1.0, MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
T is a convenience type for UNIX 64 bit timestamps of 1 second
precision.
FromTime returns a T from a time.Time
Now returns the current UNIX timestamp of the current second.
Ptr returns the pointer so values can register as nil and omitted.
Time converts a timestamp.Time value into a canonical UNIX 64 bit 1 second
precision timestamp.
Tp is a synonym that makes it possible to use this value with the extra
feature of the property of set/unset by the Ptr function which takes the
address.
This is to
func (tp *Tp ) Clone() (tc *Tp )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.