timescale

package
Version: v0.0.0-...-b7e0f59 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Relative

func Relative(t time.Duration, scale uint32) int32

Relative converts a sub-second relative time (which may be negative) to a specified timescale

func ToScale

func ToScale(t time.Duration, scale uint32) uint64

ToScale converts a decode time from time.Duration to a specified timescale

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL