time

package
v2.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxTime = time.Unix(1<<63-62135596801, 999999999)

MaxTime = 292277024627-12-06 15:30:07.999999999 +0000 UTC

View Source
var MinTime = time.Unix(0, 0)

MinTime = 1970-01-01 00:00:00 +0000 UTC

Functions

func GetRandomDelayGenerator added in v2.5.0

func GetRandomDelayGenerator(interval time.Duration) func() time.Duration

func Unix

func Unix(sec int64, nsec int64) time.Time

func UnixNano

func UnixNano(t time.Time) int64

func UnixSec added in v2.23.0

func UnixSec(t time.Time) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL