coarsetime

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 2 Imported by: 64

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