package timeext

import "github.com/go-playground/pkg/v5/time"

Index

Constants

const (
	// RFC3339Nano is a correct replacement to Go's current time.RFC3339Nano which is NOT sortable and
	// have no intention of fixing https://github.com/golang/go/issues/19635; this format fixes that.
	RFC3339Nano = "2006-01-02T15:04:05.000000000Z07:00"
)

Functions

func NanoTime

func NanoTime() int64

NanoTime returns the time from the monotonic clock in nanoseconds.

Source Files

nanotime.go time.go

Version
v5.15.1
Published
Mar 7, 2023
Platform
windows/amd64
Imports
1 packages
Last checked
46 seconds ago

Tools for package owners.