utils

package
v3.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloatPointer

func FloatPointer(pFloat float64) *float64

func GetNumber

func GetNumber(pNumber *float64) float64

GetNumber will return NaN or the number, depending on the pointer

func HumanReadableTime

func HumanReadableTime(pTimestamp int64) string

HumanReadableTime takes a timestamp in microiseconds and converts it a human-readable time.

func StrPointer

func StrPointer(str string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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