since

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package since provides convenience functions for computing elapsed time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MS

func MS(t time.Time) int64

MS returns the number of milliseconds that have passed since t as int64.

func MSFrom

func MSFrom(t, now time.Time) int64

MSFrom returns the number of milliseconds that have passed between t and now as an int64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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