timex

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package timex implements extensions to the time package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Since deprecated

func Since(t Nanotime) time.Duration

Since returns the time elapsed since t.

Deprecated: Use hamba/timex/mono instead.

Types

type Nanotime

type Nanotime int64

Nanotime represents an instant in time with nanosecond precision using runtime.nanotime.

func Now deprecated

func Now() Nanotime

Now gets the current local time as a Nanotime.

Deprecated: Use hamba/timex/mono instead.

Jump to

Keyboard shortcuts

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