package timeutil

import "github.com/coreos/etcd/pkg/timeutil"

Index

Functions

func UnixNanoToTime

func UnixNanoToTime(ns int64) time.Time

UnixNanoToTime returns the local time corresponding to the given Unix time in nanoseconds. If the given Unix time is zero, an uninitialized zero time is returned.

Source Files

timeutil.go

Version
v2.1.0+incompatible
Published
Jul 21, 2015
Platform
js/wasm
Imports
1 packages
Last checked
14 minutes ago

Tools for package owners.