coarsetime

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CeilingTimeNow

func CeilingTimeNow() time.Time

CeilingTimeNow returns the current time from the range [now,now+100ms).

This is a faster alternative to time.Now().

func FloorTimeNow

func FloorTimeNow() time.Time

FloorTimeNow returns the current time from the range (now-100ms,now].

This is a faster alternative to time.Now().

Types

This section is empty.

Jump to

Keyboard shortcuts

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