time

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package time provides functions for parsing time and sleeping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(input string) (time.Time, error)

Parse parses an arbitrary time string, attempting to determine its layout.

func SleepIncremental

func SleepIncremental(increment int)

SleepIncremental sleeps using incremental backoff.

func SleepUntil

func SleepUntil(when time.Time)

SleepUntil sleeps until a specified time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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