Discover Packages
github.com/megaease/easegress/v2
pkg
util
fasttime
package
Version:
v2.7.3
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package fasttime provides fast time.Now() and time.Since() and time.Format().
Format is equivlant with time.Format for layouts: RFC3339, RFC3339Milli and RFC3339Nano,
but with better performance
NowUnixNano is the current Unix Nano time
Since returns the elapsed time.
Layout is the layout to format a time value
const (
RFC3339 Layout = iota
RFC3339Milli
RFC3339Nano
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.