timeutil

package
v0.0.0-...-9bc905a Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloatToDuration

func FloatToDuration(tQuantity float64, tUnit string) time.Duration

Convert a float64 to time.Duration @param quantity - the quantity of time to convert @param unit - the time unit of conversion ("ns", "us" (or "µs"), "ms", "s", "m", "h")

func GetCurrentTimestamp

func GetCurrentTimestamp() int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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