timeutil

package
v0.0.0-...-cd3ace8 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixedZone

func FixedZone(name string, offset time.Duration) *time.Location

FixedZone returns a Location that always uses the given zone name and offset (east of UTC).

func Sleep

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

Sleep is sleep current goroutine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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