timex

package
v0.0.0-...-6574a54 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equalish

func Equalish(old, new pgtype.Timestamptz) bool

func Sleep

func Sleep(ctx context.Context, d time.Duration) bool

Sleep is like time.Sleep, but it takes a context. The return value is false if the context cancelled before it could return.

func ToEST

func ToEST(t time.Time) time.Time

func Unwrap

func Unwrap(v any) (t time.Time, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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